:root {
  color-scheme: dark;
  --ink: #050608;
  --paper: #f4f7fb;
  --muted: rgba(244, 247, 251, 0.72);
  --faint: rgba(244, 247, 251, 0.14);
  --line: rgba(244, 247, 251, 0.32);
  --focus: #bce8ff;
  --header-height: 76px;
  --page-pad: 56px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --display: "Arial Narrow", "Bahnschrift SemiCondensed", "Aptos Narrow", Arial, sans-serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
}

/* FOUNDRY SYSTEM MAP / explanatory visuals replace cinematic renders */
.foundry-system-map {
  --map-blue: #9bdcff;
  --map-green: #79e3bd;
  --map-gold: #f0b45f;
  --map-red: #ff8f84;
  justify-content: flex-start;
  gap: 0;
  min-height: 96svh;
  margin: 0;
  padding: 42px clamp(28px, 3.4vw, 58px) 34px;
  background:
    linear-gradient(rgba(121, 199, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 199, 255, 0.04) 1px, transparent 1px),
    #061016;
  background-size: 38px 38px;
}

.foundry-system-map::before {
  display: none;
}

.foundry-system-map::after {
  inset: 20px;
  border-color: rgba(155, 220, 255, 0.12);
}

.foundry-map-head,
.foundry-transfer-spine,
.foundry-cell-map,
.foundry-robot-route,
.foundry-boundary,
.foundry-system-map figcaption {
  position: relative;
  z-index: 2;
}

.foundry-map-head {
  display: grid;
  gap: 5px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(244, 247, 251, 0.18);
}

.foundry-map-head span,
.compute-map-head span {
  color: var(--map-gold, #f0b45f);
  font-size: 9px;
  font-weight: 900;
}

.foundry-map-head strong,
.compute-map-head strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.05;
}

.foundry-transfer-spine {
  height: 74px;
  margin: 22px 16px 0;
  border-top: 2px solid rgba(155, 220, 255, 0.72);
  border-right: 1px solid rgba(155, 220, 255, 0.42);
  border-left: 1px solid rgba(155, 220, 255, 0.42);
}

.foundry-transfer-spine::before,
.foundry-transfer-spine::after {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 38px;
  background: rgba(155, 220, 255, 0.42);
  content: "";
}

.foundry-transfer-spine::before {
  left: 33.333%;
}

.foundry-transfer-spine::after {
  right: 33.333%;
}

.foundry-transfer-spine span {
  position: absolute;
  top: 10px;
  left: 50%;
  padding: 3px 9px;
  transform: translateX(-50%);
  background: #061016;
  color: rgba(155, 220, 255, 0.78);
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.foundry-transfer-spine > i {
  position: absolute;
  top: -6px;
  left: 7%;
  width: 10px;
  height: 10px;
  border: 2px solid #061016;
  border-radius: 50%;
  background: var(--map-blue);
  box-shadow: 0 0 14px rgba(155, 220, 255, 0.72);
  animation: foundry-spine-signal 6s linear infinite;
}

@keyframes foundry-spine-signal {
  0% { left: 7%; }
  50% { left: calc(93% - 10px); }
  100% { left: 7%; }
}

.foundry-cell-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.foundry-cell {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 14px 22px;
  overflow: hidden;
  border: 1px solid rgba(155, 220, 255, 0.26);
  border-radius: 4px;
  background: rgba(4, 13, 18, 0.84);
}

.foundry-cell::after {
  position: absolute;
  inset: 41px 12px 12px;
  border: 1px dashed rgba(155, 220, 255, 0.08);
  content: "";
  pointer-events: none;
}

.foundry-cell header {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(155, 220, 255, 0.18);
}

.foundry-cell header span,
.compute-node > span,
.compute-core > span {
  color: var(--map-gold, #f0b45f);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.foundry-cell header strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 12px;
}

.foundry-cell p {
  z-index: 2;
  margin: 18px 0 2px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
}

.foundry-cell small {
  z-index: 2;
  color: rgba(244, 247, 251, 0.45);
  font-size: 7px;
  font-weight: 800;
  text-align: center;
}

.foundry-arm {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 92px;
}

.foundry-arm::before {
  position: absolute;
  bottom: 0;
  left: 8px;
  width: 38px;
  height: 10px;
  border: 1px solid rgba(155, 220, 255, 0.62);
  background: #0a1a22;
  content: "";
}

.foundry-arm i {
  position: absolute;
  height: 11px;
  border: 1px solid rgba(155, 220, 255, 0.74);
  background: #10242e;
  transform-origin: 7px 50%;
}

.foundry-arm i:first-child {
  bottom: 18px;
  left: 30px;
  width: 54px;
  transform: rotate(-54deg);
}

.foundry-arm i:nth-child(2) {
  top: 24px;
  left: 63px;
  width: 36px;
  transform: rotate(38deg);
}

.foundry-arm b {
  position: absolute;
  top: 46px;
  right: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--map-green);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(121, 227, 189, 0.32);
}

.foundry-cell-laser .foundry-arm b {
  border-color: var(--map-gold);
  box-shadow: 0 0 14px rgba(240, 180, 95, 0.4);
}

.foundry-vat {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 92px;
}

.foundry-vat::before {
  position: absolute;
  right: 4px;
  bottom: 6px;
  left: 4px;
  height: 38px;
  border: 1px solid rgba(155, 220, 255, 0.62);
  border-top: 4px solid rgba(155, 220, 255, 0.88);
  background: linear-gradient(to top, rgba(121, 227, 189, 0.2), transparent);
  content: "";
}

.foundry-vat i {
  position: absolute;
  bottom: 29px;
  left: 44px;
  width: 10px;
  height: 42px;
  border: 1px solid rgba(121, 227, 189, 0.72);
  background: #10261f;
}

.foundry-vat b {
  position: absolute;
  top: 15px;
  left: 37px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--map-green);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(121, 227, 189, 0.42);
}

.foundry-robot-route {
  display: grid;
  grid-template-columns: 38px 1fr minmax(155px, auto) 1fr 38px;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
}

.foundry-unit {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(240, 180, 95, 0.76);
  border-radius: 50%;
  color: var(--map-gold);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.foundry-robot-route > i {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(240, 180, 95, 0.7) 0 7px, transparent 7px 13px);
}

.foundry-robot-route div {
  display: grid;
  gap: 2px;
  text-align: center;
}

.foundry-robot-route strong {
  font-family: var(--display);
  font-size: 10px;
}

.foundry-robot-route small {
  color: rgba(244, 247, 251, 0.42);
  font-size: 7px;
  font-weight: 800;
}

.foundry-boundary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 143, 132, 0.52);
  border-bottom: 1px solid rgba(255, 143, 132, 0.18);
}

.foundry-boundary span {
  color: var(--map-red);
  font-size: 8px;
  font-weight: 900;
}

.foundry-boundary strong {
  color: rgba(244, 247, 251, 0.68);
  font-size: 9px;
  text-align: right;
}

.foundry-system-map figcaption {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: auto;
  padding-top: 26px;
  border-top: 0;
}

.foundry-system-map figcaption span,
.foundry-system-map figcaption small {
  color: rgba(155, 220, 255, 0.58);
  font-size: 8px;
  font-weight: 900;
}

.foundry-system-map figcaption strong {
  grid-column: auto;
  color: var(--paper);
  font-size: 10px;
  text-align: center;
}

.foundry-system-map figcaption small {
  grid-column: auto;
  grid-row: auto;
  color: var(--map-gold);
}

.compute-control-map {
  --map-blue: #9bdcff;
  --map-green: #79e3bd;
  --map-gold: #f0b45f;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  justify-content: center;
  padding: 46px 30px 34px;
  background:
    linear-gradient(rgba(121, 199, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 199, 255, 0.04) 1px, transparent 1px),
    #061016;
  background-size: 34px 34px;
}

.compute-control-map::after {
  display: none;
}

.compute-map-head,
.compute-map-cycle,
.compute-return-line,
.compute-control-map figcaption {
  position: relative;
  z-index: 1;
}

.compute-map-head {
  display: grid;
  gap: 5px;
  margin-bottom: 58px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(244, 247, 251, 0.18);
}

.compute-map-cycle {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) 18px minmax(72px, 1fr) 18px minmax(120px, 1.15fr) 18px minmax(72px, 1fr) 18px minmax(72px, 1fr);
  align-items: center;
  gap: 7px;
}

.compute-node {
  display: grid;
  min-width: 0;
  min-height: 112px;
  align-content: center;
  gap: 5px;
  padding: 14px 10px;
  border-top: 2px solid rgba(155, 220, 255, 0.68);
  border-bottom: 1px solid rgba(155, 220, 255, 0.2);
  background: rgba(4, 13, 18, 0.76);
}

.compute-node strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 12px;
}

.compute-node small {
  color: rgba(244, 247, 251, 0.46);
  font-size: 8px;
}

.compute-arrow {
  position: relative;
  height: 1px;
  background: rgba(155, 220, 255, 0.6);
}

.compute-arrow::after {
  position: absolute;
  top: -3px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(155, 220, 255, 0.8);
  border-right: 1px solid rgba(155, 220, 255, 0.8);
  content: "";
  transform: rotate(45deg);
}

.compute-core {
  position: relative;
  display: grid;
  min-height: 170px;
  place-content: center;
  gap: 5px;
  padding: 18px;
  border: 1px solid rgba(121, 227, 189, 0.62);
  background: rgba(7, 28, 26, 0.86);
  text-align: center;
  box-shadow: inset 0 0 28px rgba(121, 227, 189, 0.08);
}

.compute-core::before,
.compute-core::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(121, 227, 189, 0.14);
  content: "";
}

.compute-core::after {
  inset: 24px;
}

.compute-core strong,
.compute-core small,
.compute-core span {
  position: relative;
  z-index: 2;
}

.compute-core strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  line-height: 0.95;
}

.compute-core small {
  color: rgba(121, 227, 189, 0.7);
  font-size: 7px;
  font-weight: 900;
}

.compute-core b {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--map-green);
  box-shadow: 0 0 14px rgba(121, 227, 189, 0.72);
}

.compute-return-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 48px 6px 0;
}

.compute-return-line span,
.compute-return-line strong {
  color: rgba(244, 247, 251, 0.5);
  font-size: 8px;
  font-weight: 900;
}

.compute-return-line strong {
  color: var(--map-gold);
}

.compute-return-line i {
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(240, 180, 95, 0.6) 0 6px, transparent 6px 12px);
}

.compute-control-map figcaption {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  margin-top: auto;
  padding-top: 24px;
}

@media (max-width: 1180px) {
  .foundry-system-map {
    min-height: 760px;
  }

  .compute-control-map {
    min-height: 570px;
  }
}

@media (max-width: 720px) {
  .foundry-system-map {
    min-height: 0;
    padding: 34px 18px 30px;
    border-top: 1px solid rgba(155, 220, 255, 0.16);
    border-left: 0;
  }

  .foundry-system-map::after {
    inset: 10px;
  }

  .foundry-map-head strong,
  .compute-map-head strong {
    font-size: 20px;
  }

  .foundry-transfer-spine {
    height: 58px;
    margin-right: 4px;
    margin-left: 4px;
  }

  .foundry-transfer-spine span {
    font-size: 7px;
  }

  .foundry-cell-map {
    grid-template-columns: 1fr;
  }

  .foundry-cell {
    min-height: 170px;
    padding-top: 42px;
  }

  .foundry-cell::before {
    position: absolute;
    top: -11px;
    left: 50%;
    width: 1px;
    height: 11px;
    background: rgba(155, 220, 255, 0.42);
    content: "";
  }

  .foundry-arm,
  .foundry-vat {
    height: 70px;
    transform: scale(0.76);
  }

  .foundry-cell p {
    margin-top: 3px;
  }

  .foundry-robot-route {
    grid-template-columns: 34px 1fr 34px;
    gap: 9px;
  }

  .foundry-robot-route > i {
    display: none;
  }

  .foundry-robot-route div {
    grid-column: 2;
    grid-row: 1;
  }

  .foundry-unit {
    width: 34px;
    height: 34px;
  }

  .foundry-boundary {
    display: grid;
    gap: 5px;
  }

  .foundry-boundary strong {
    text-align: left;
  }

  .foundry-system-map figcaption {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 26px;
  }

  .foundry-system-map figcaption strong {
    text-align: left;
  }

  .compute-control-map {
    min-height: 0;
    padding: 34px 18px 28px;
  }

  .compute-map-head {
    margin-bottom: 28px;
  }

  .compute-map-cycle {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .compute-node,
  .compute-core {
    min-height: 82px;
    padding: 13px 16px;
    text-align: left;
  }

  .compute-core {
    min-height: 118px;
  }

  .compute-arrow {
    width: 1px;
    height: 18px;
    margin-left: 24px;
  }

  .compute-arrow::after {
    top: auto;
    right: -3px;
    bottom: -1px;
    transform: rotate(135deg);
  }

  .compute-return-line {
    grid-template-columns: auto 1fr;
    margin-top: 24px;
  }

  .compute-return-line strong {
    grid-column: 1 / -1;
  }

  .compute-control-map figcaption {
    display: grid;
    gap: 5px;
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .foundry-transfer-spine > i {
    left: 50%;
    animation: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

body.trace-open {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

button {
  border: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-180%);
  border: 1px solid var(--line);
  background: rgba(5, 6, 8, 0.9);
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--paper);
}

.site-header {
  position: fixed;
  inset: 2px 0 auto;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 var(--page-pad);
  transition: background-color 320ms var(--ease), backdrop-filter 320ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 6, 8, 0.7);
  backdrop-filter: blur(18px);
}

.brand-gates {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.brand::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -5px;
  width: 1px;
  background: linear-gradient(transparent, rgba(188, 232, 255, 0.96), transparent);
  box-shadow: 0 0 9px rgba(188, 232, 255, 0.7);
  content: "";
  animation: brandCharge 3.8s ease-in-out infinite;
}

.brand::after {
  position: absolute;
  top: 7px;
  left: 0;
  width: 18px;
  height: 24px;
  background: linear-gradient(90deg, transparent, rgba(236, 248, 255, 0.92), transparent);
  content: "";
  filter: blur(5px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: brandSweep 5.8s var(--ease) infinite;
}

.brand-mark {
  display: block;
  width: 78px;
  height: 38px;
  filter: drop-shadow(0 0 8px rgba(188, 232, 255, 0.16));
  object-fit: contain;
}

@keyframes brandCharge {
  0%, 100% { opacity: 0.28; transform: scaleY(0.45); }
  52% { opacity: 1; transform: scaleY(1); }
}

@keyframes brandSweep {
  0%, 16% { opacity: 0; transform: translateX(0); }
  24% { opacity: 0.82; }
  48%, 100% { opacity: 0; transform: translateX(66px); }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.desktop-nav a,
.nav-trace,
.nav-cluster summary,
.nav-cluster-menu button {
  padding: 7px 0;
  background: none;
  color: rgba(244, 247, 251, 0.78);
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.desktop-nav a:hover,
.nav-trace:hover,
.nav-cluster summary:hover,
.nav-cluster[open] summary,
.nav-cluster-menu button:hover {
  color: #fff;
}

.cristallo-beacon {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: rgba(224, 241, 255, 0.9);
  text-decoration: none;
  isolation: isolate;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* Cristallo interior: one body, many living organs. */
.cristallo-core-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #020508;
  color: #eef7ff;
  overflow: hidden;
}

.cristallo-core-dialog::backdrop {
  background: rgba(0, 2, 4, 0.94);
}

.cristallo-core-dialog[open] {
  animation: cristalloInteriorArrive 420ms ease-out both;
}

.cristallo-interior {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100svh;
  overflow: auto;
  background-color: #03070b;
  background-image: url("../assets/cristallo-team-v1.png");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.cristallo-interior::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(2, 6, 10, 0.62);
  content: "";
}

.cristallo-interior-head,
.cristallo-interior-foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 18px clamp(22px, 4vw, 68px);
  border-color: rgba(188, 225, 244, 0.18);
  letter-spacing: 0;
}

.cristallo-interior-head {
  border-bottom: 1px solid rgba(188, 225, 244, 0.18);
}

.cristallo-interior-head > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cristallo-interior-head p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.cristallo-interior-head strong,
.cristallo-interior-foot p {
  font-size: 13px;
  letter-spacing: 0.18em;
}

.cristallo-interior-head small {
  color: rgba(188, 225, 244, 0.62);
  font-size: 10px;
  letter-spacing: 0.24em;
}

.cristallo-interior-mark {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(152, 218, 247, 0.52);
  box-shadow: 0 0 20px rgba(78, 187, 235, 0.16);
  font-size: 19px;
}

.cristallo-interior-head button,
.cristallo-interior-foot button {
  display: grid;
  min-width: 48px;
  min-height: 48px;
  place-items: center;
  padding: 0 16px;
  border: 1px solid rgba(188, 225, 244, 0.28);
  background: rgba(2, 7, 11, 0.56);
  color: #eef7ff;
  cursor: pointer;
}

.cristallo-interior-head button {
  width: 48px;
  padding: 0;
  font-size: 27px;
  font-weight: 300;
}

.cristallo-interior-head button:hover,
.cristallo-interior-head button:focus-visible,
.cristallo-interior-foot button:hover,
.cristallo-interior-foot button:focus-visible {
  border-color: rgba(220, 244, 255, 0.82);
  background: rgba(15, 33, 44, 0.82);
}

.cristallo-interior-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(300px, 460px) minmax(190px, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  width: min(1480px, 100%);
  min-height: calc(100svh - 154px);
  margin: auto;
  padding: clamp(48px, 7vh, 94px) clamp(24px, 6vw, 100px);
}

.cristallo-organs {
  display: grid;
  gap: clamp(18px, 3vh, 34px);
}

.cristallo-organs a {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 14px;
  min-height: 78px;
  padding: 14px 0;
  border-top: 1px solid rgba(188, 225, 244, 0.2);
  border-bottom: 1px solid rgba(188, 225, 244, 0.08);
  color: rgba(233, 246, 255, 0.78);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cristallo-organs a::after {
  position: absolute;
  top: 50%;
  width: clamp(24px, 4vw, 68px);
  height: 1px;
  background: rgba(128, 207, 247, 0.28);
  content: "";
  transform: scaleX(0.45);
  transition: background 180ms ease, transform 180ms ease;
}

.cristallo-organs-left a::after {
  right: -48px;
  transform-origin: right;
}

.cristallo-organs-right a::after {
  left: -48px;
  transform-origin: left;
}

.cristallo-organs a > span {
  grid-row: 1 / 3;
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(188, 225, 244, 0.3);
  color: #a7def8;
  font-size: 20px;
}

.cristallo-organs strong {
  align-self: end;
  font-size: clamp(15px, 1.3vw, 19px);
  letter-spacing: 0.08em;
}

.cristallo-organs small {
  align-self: start;
  color: rgba(188, 225, 244, 0.48);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.cristallo-organs a:hover,
.cristallo-organs a:focus-visible {
  border-color: rgba(167, 222, 248, 0.66);
  color: #fff;
  transform: translateY(-2px);
}

.cristallo-organs a:hover::after,
.cristallo-organs a:focus-visible::after {
  background: rgba(167, 222, 248, 0.82);
  transform: scaleX(1);
}

.cristallo-core-visual {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.cristallo-signal-field {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(38vw, 540px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cristallo-signal-field i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  height: 1px;
  background: rgba(128, 207, 247, 0.24);
  transform-origin: left;
  animation: cristalloSignal 3.6s ease-in-out infinite;
}

.cristallo-signal-field i::after {
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a7def8;
  box-shadow: 0 0 12px rgba(128, 207, 247, 0.82);
  content: "";
}

.cristallo-signal-field i:nth-child(1) { transform: rotate(0deg); }
.cristallo-signal-field i:nth-child(2) { transform: rotate(60deg); animation-delay: -0.6s; }
.cristallo-signal-field i:nth-child(3) { transform: rotate(120deg); animation-delay: -1.2s; }
.cristallo-signal-field i:nth-child(4) { transform: rotate(180deg); animation-delay: -1.8s; }
.cristallo-signal-field i:nth-child(5) { transform: rotate(240deg); animation-delay: -2.4s; }
.cristallo-signal-field i:nth-child(6) { transform: rotate(300deg); animation-delay: -3s; }

.cristallo-prism {
  position: relative;
  display: block;
  width: clamp(150px, 15vw, 210px);
  aspect-ratio: 1;
  margin-bottom: 42px;
  color: inherit;
  text-decoration: none;
}

.cristallo-core-gateway::after {
  position: absolute;
  right: 0;
  bottom: -24px;
  left: 0;
  color: rgba(188, 225, 244, 0.72);
  content: "GLIDING";
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
  opacity: 0;
  text-align: center;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cristallo-core-gateway:hover::after,
.cristallo-core-gateway:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.cristallo-core-gateway:focus-visible {
  outline: 1px solid rgba(167, 222, 248, 0.8);
  outline-offset: 12px;
}

.cristallo-prism i {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(188, 225, 244, 0.48);
  transform: rotate(45deg);
  animation: cristalloPrism 10s linear infinite;
}

.cristallo-prism i:nth-child(2) {
  inset: 24%;
  border-color: rgba(100, 218, 190, 0.62);
  animation-direction: reverse;
  animation-duration: 7s;
}

.cristallo-prism i:nth-child(3) {
  inset: 34%;
  border-color: rgba(236, 133, 45, 0.76);
  animation-duration: 5s;
}

.cristallo-prism b {
  position: absolute;
  inset: 50% auto auto 50%;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  text-shadow: 0 0 18px rgba(167, 222, 248, 0.92);
  transform: translate(-50%, -50%);
}

.cristallo-core-pulse {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: rgba(188, 225, 244, 0.62);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.cristallo-core-pulse span {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #6fdcc1;
  box-shadow: 0 0 12px rgba(111, 220, 193, 0.72);
  animation: cristalloBeat 1.15s ease-in-out infinite;
  animation-play-state: paused;
}

.cristallo-interior.is-sounding .cristallo-core-pulse span {
  animation-play-state: running;
}

.cristallo-core-visual h2 {
  max-width: 460px;
  margin: 0;
  font-size: clamp(26px, 2.8vw, 43px);
  line-height: 1.04;
  letter-spacing: 0;
}

.cristallo-interior-foot {
  border-top: 1px solid rgba(188, 225, 244, 0.18);
}

.cristallo-interior-foot p {
  margin: 0;
  color: rgba(188, 225, 244, 0.62);
}

.cristallo-interior-foot button {
  font-size: 10px;
  letter-spacing: 0.12em;
}

body.cristallo-core-open {
  overflow: hidden;
}

/* Every project keeps its own surface while remaining inside the same body. */
.cristallo-organ-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #020508;
  color: #eef7ff;
  overflow: hidden;
}

.cristallo-organ-dialog::backdrop {
  background: rgba(0, 2, 4, 0.86);
}

.cristallo-organ-dialog[open] {
  opacity: 1;
}

.cristallo-organ-shell {
  display: grid;
  width: 100%;
  height: 100dvh;
  grid-template-rows: 68px minmax(0, 1fr);
  background: #020508;
}

.cristallo-organ-dialog[open] .cristallo-organ-shell {
  animation: cristalloOrganArrive 260ms ease-out both;
}

.cristallo-organ-head {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px clamp(14px, 2.8vw, 42px);
  border-bottom: 1px solid rgba(188, 225, 244, 0.18);
  background: rgba(2, 5, 8, 0.97);
}

.cristallo-organ-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cristallo-organ-head p {
  display: grid;
  gap: 2px;
  margin: 0;
  letter-spacing: 0;
}

.cristallo-organ-head small {
  color: rgba(188, 225, 244, 0.5);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.cristallo-organ-head strong {
  font-size: 13px;
  letter-spacing: 0.14em;
}

.cristallo-organ-back {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(188, 225, 244, 0.26);
  background: transparent;
  color: #eef7ff;
  cursor: pointer;
  font-size: 22px;
}

.cristallo-organ-actions > a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(188, 225, 244, 0.34);
  color: rgba(238, 247, 255, 0.72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.cristallo-organ-back:hover,
.cristallo-organ-back:focus-visible,
.cristallo-organ-actions > a:hover,
.cristallo-organ-actions > a:focus-visible {
  border-color: rgba(220, 244, 255, 0.84);
  color: #fff;
}

.cristallo-organ-eye {
  position: relative;
  right: auto;
  bottom: auto;
  width: 44px;
  height: 44px;
  overflow: visible;
}

.cristallo-organ-eye .cristallo-orbit-system {
  transform: scale(0.42);
}

.cristallo-organ-eye.is-closed .cristallo-orbit-system {
  transform: scale(0.42) scaleY(0.22);
}

.cristallo-organ-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #05090d;
}

.cristallo-organ-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: #05090d;
  opacity: 1;
  transition: opacity 180ms ease;
}

.cristallo-organ-local {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  background: #05090d;
}

.cristallo-organ-frame[hidden],
.cristallo-organ-local[hidden] {
  display: none;
}

.cristallo-organ-local > .is-cristallo-organ-content {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

.cristallo-organ-dialog.is-loading .cristallo-organ-frame {
  opacity: 0;
}

.cristallo-organ-loading {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  margin: 0;
  color: rgba(188, 225, 244, 0.58);
  font-size: 9px;
  letter-spacing: 0.22em;
  transform: translate(-50%, -50%);
}

body.cristallo-organ-open {
  overflow: hidden;
}

@keyframes cristalloInteriorArrive {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes cristalloOrganArrive {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}

@keyframes cristalloSignal {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.92; }
}

@keyframes cristalloPrism {
  to { transform: rotate(405deg); }
}

@keyframes cristalloBeat {
  0%, 100% { opacity: 0.48; transform: scale(0.72); }
  45% { opacity: 1; transform: scale(1.35); }
}

@media (max-width: 900px) {
  .cristallo-interior-stage {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 24px;
    padding-top: 34px;
  }

  .cristallo-core-visual {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 360px;
  }

  .cristallo-organs {
    align-self: stretch;
  }

  .cristallo-organs a::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .cristallo-interior-head,
  .cristallo-interior-foot {
    min-height: 64px;
    padding: 12px 16px;
  }

  .cristallo-interior-stage {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 16px 36px;
  }

  .cristallo-core-visual {
    grid-column: 1;
    min-height: 330px;
  }

  .cristallo-signal-field {
    width: min(90vw, 390px);
  }

  .cristallo-prism {
    width: 142px;
    margin-bottom: 28px;
  }

  .cristallo-organs-left,
  .cristallo-organs-right {
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }

  .cristallo-organs a {
    grid-template-columns: 34px 1fr;
    min-height: 66px;
    gap: 3px 9px;
  }

  .cristallo-organs a > span {
    width: 34px;
    font-size: 16px;
  }

  .cristallo-organs strong {
    font-size: 12px;
  }

  .cristallo-organs small {
    font-size: 7px;
  }

  .cristallo-interior-foot button {
    width: 48px;
    padding: 0;
    overflow: hidden;
    color: transparent;
  }

  .cristallo-interior-foot button::after {
    color: #eef7ff;
    content: "↑";
    font-size: 20px;
  }

  .cristallo-organ-shell {
    grid-template-rows: 62px minmax(0, 1fr);
  }

  .cristallo-organ-head {
    grid-template-columns: 42px 1fr auto;
    gap: 11px;
    padding: 9px 12px;
  }

  .cristallo-organ-back {
    width: 40px;
    height: 40px;
  }

  .cristallo-organ-actions {
    gap: 7px;
  }

  .cristallo-organ-actions > a {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cristallo-core-dialog[open],
  .cristallo-organ-dialog[open] .cristallo-organ-shell,
  .cristallo-signal-field i,
  .cristallo-prism i,
  .cristallo-core-pulse span {
    animation: none;
  }
}

.cristallo-beacon::before {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(167, 222, 248, 0.58);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(167, 222, 248, 0.14);
  content: "";
  transform: rotate(45deg);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.cristallo-beacon::after,
.cristallo-beacon-orbit {
  position: absolute;
  inset: 3px;
  z-index: -1;
  border: 1px solid rgba(167, 222, 248, 0.34);
  border-radius: 50%;
  content: "";
  animation: cristalloPulse 3.4s ease-out infinite;
}

.cristallo-beacon-orbit {
  animation-delay: 1.7s;
}

.cristallo-beacon-core {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1;
}

.cristallo-beacon:hover,
.cristallo-beacon:focus-visible {
  color: #fff;
  text-shadow: 0 0 16px rgba(167, 222, 248, 0.95);
}

.cristallo-beacon:hover::before,
.cristallo-beacon:focus-visible::before {
  border-color: rgba(224, 241, 255, 0.94);
  box-shadow: 0 0 18px rgba(167, 222, 248, 0.5);
  transform: rotate(135deg);
}

@keyframes cristalloPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.72);
    box-shadow: 0 0 0 rgba(167, 222, 248, 0);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.45);
    box-shadow: 0 0 18px rgba(167, 222, 248, 0.22);
  }
}

.nav-cluster {
  position: relative;
}

.nav-cluster summary {
  list-style: none;
}

.nav-cluster summary::-webkit-details-marker {
  display: none;
}

.nav-cluster summary::after {
  content: "⌄";
  display: inline-block;
  margin-left: 7px;
  transition: transform 180ms ease;
}

.nav-cluster[open] summary::after {
  transform: rotate(180deg);
}

.nav-gate summary {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 247, 251, 0.25);
  border-radius: 50%;
  background: rgba(5, 6, 8, 0.18);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.nav-gate summary::after {
  display: none;
}

.nav-gate summary::before {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  padding: 4px 7px;
  background: rgba(5, 6, 8, 0.92);
  color: rgba(244, 247, 251, 0.72);
  content: attr(data-tooltip);
  font-family: var(--body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.nav-gate summary:hover::before,
.nav-gate summary:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav-gate[open] summary,
.nav-gate summary:hover,
.nav-gate summary:focus-visible {
  border-color: rgba(188, 232, 255, 0.72);
  background: rgba(7, 10, 15, 0.82);
  box-shadow: 0 0 20px rgba(188, 232, 255, 0.12);
}

.nav-gate-mark {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  transform: rotate(-8deg);
  transition: transform 320ms var(--ease);
}

.nav-gate-mark::before,
.nav-gate-mark::after {
  position: absolute;
  content: "";
}

.nav-gate-mark::before {
  inset: 3px;
  border: 1px solid rgba(224, 241, 255, 0.42);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.nav-gate-mark::after {
  top: 11px;
  left: 11px;
  width: 2px;
  height: 2px;
  border: 1px solid rgba(244, 247, 251, 0.4);
  border-radius: 50%;
}

.nav-gate-mark i {
  position: absolute;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 48% 28% 56% 36%;
  clip-path: polygon(12% 18%, 84% 0, 100% 72%, 42% 100%, 0 64%);
}

.nav-gate-mark i:nth-child(1) { top: 1px; left: 8px; background: #79c7ff; box-shadow: 0 0 8px rgba(121, 199, 255, 0.72); }
.nav-gate-mark i:nth-child(2) { top: 8px; right: 0; background: #ef6a5b; box-shadow: 0 0 8px rgba(239, 106, 91, 0.68); transform: rotate(72deg); }
.nav-gate-mark i:nth-child(3) { right: 8px; bottom: 0; background: #65cf9f; box-shadow: 0 0 8px rgba(101, 207, 159, 0.68); transform: rotate(148deg); }
.nav-gate-mark i:nth-child(4) { top: 8px; left: 0; background: #e3ba55; box-shadow: 0 0 8px rgba(227, 186, 85, 0.68); transform: rotate(224deg); }

.nav-gate[open] .nav-gate-mark {
  transform: rotate(82deg) scale(1.08);
}

.nav-gate-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: rgba(224, 241, 255, 0.82);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: stroke 180ms ease, transform 260ms var(--ease);
}

.nav-gate-foundry summary {
  border-color: rgba(223, 169, 95, 0.46);
  background: rgba(20, 12, 4, 0.38);
}

.nav-gate-foundry[open] summary,
.nav-gate-foundry summary:hover,
.nav-gate-foundry summary:focus-visible {
  border-color: rgba(255, 211, 145, 0.86);
  background: rgba(28, 17, 6, 0.86);
  box-shadow: 0 0 22px rgba(223, 169, 95, 0.2);
}

.foundry-gate-icon {
  overflow: visible;
  stroke: rgba(255, 230, 194, 0.88);
}

.foundry-gate-icon rect {
  fill: rgba(223, 169, 95, 0.12);
}

.foundry-gate-gantry {
  stroke-dasharray: 28;
  animation: foundryGantry 4.8s linear infinite;
}

.foundry-gate-ember {
  fill: #dfa95f;
  stroke: none;
  filter: drop-shadow(0 0 4px rgba(255, 195, 112, 0.9));
  animation: foundryEmber 2.6s ease-in-out infinite;
}

.nav-gate-foundry[open] .foundry-gate-icon,
.nav-gate-foundry summary:hover .foundry-gate-icon,
.nav-gate-foundry summary:focus-visible .foundry-gate-icon {
  stroke: #fff1dd;
  transform: translateY(-1px);
}

@keyframes foundryGantry {
  to { stroke-dashoffset: -56; }
}

@keyframes foundryEmber {
  0%, 100% { opacity: 0.42; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1.5px); }
}

.fluid-gate-icon {
  overflow: visible;
}

.fluid-gate-icon .fluid-drop,
.fluid-gate-icon .fluid-current {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fluid-gate-icon .fluid-drop {
  stroke-dasharray: 42;
  animation: fluidCircuit 4.8s linear infinite;
}

.fluid-gate-icon .fluid-current {
  opacity: 0.72;
  animation: fluidCurrent 2.4s ease-in-out infinite alternate;
}

.fluid-gate-icon .fluid-spark {
  fill: #b8e8ff;
  stroke: none;
  filter: drop-shadow(0 0 4px #9fdfff);
  transform-origin: 12.8px 10px;
  animation: fluidSpark 1.8s ease-in-out infinite;
}

@keyframes fluidCircuit {
  from { stroke-dashoffset: 42; }
  to { stroke-dashoffset: 0; }
}

@keyframes fluidCurrent {
  from { transform: translateX(-0.7px); opacity: 0.42; }
  to { transform: translateX(0.7px); opacity: 0.94; }
}

@keyframes fluidSpark {
  0%, 100% { transform: scale(0.72); opacity: 0.45; }
  50% { transform: scale(1.35); opacity: 1; }
}

.nav-gate[open] .nav-gate-icon,
.nav-gate summary:hover .nav-gate-icon,
.nav-gate summary:focus-visible .nav-gate-icon {
  stroke: #fff;
  transform: scale(1.08);
}

.nav-gate-ideaing summary {
  border-color: rgba(38, 204, 197, 0.42);
  background: rgba(7, 21, 34, 0.72);
}

.nav-gate-ideaing-icon {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  object-fit: cover;
  filter: drop-shadow(0 0 7px rgba(38, 204, 197, 0.22));
  transition: filter 220ms ease, transform 260ms var(--ease);
}

.nav-gate-ideaing[open] .nav-gate-ideaing-icon,
.nav-gate-ideaing summary:hover .nav-gate-ideaing-icon,
.nav-gate-ideaing summary:focus-visible .nav-gate-ideaing-icon {
  filter: drop-shadow(0 0 11px rgba(38, 204, 197, 0.55));
  transform: scale(1.08);
}

.nav-cluster-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -24px;
  display: grid;
  width: 280px;
  padding: 12px 22px;
  border: 1px solid rgba(244, 247, 251, 0.2);
  background: rgba(5, 6, 8, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
}

.nav-cluster-menu a,
.nav-cluster-menu button {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244, 247, 251, 0.12);
  text-align: left;
}

.nav-cluster-menu span {
  color: rgba(244, 247, 251, 0.94);
}

.nav-cluster-menu small {
  color: rgba(190, 199, 210, 0.62);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.nav-cluster-menu :last-child {
  border-bottom: 0;
}

.nav-gate-menu {
  left: 50%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 560px;
  padding: 18px 22px;
  transform: translateX(-50%);
}

.nav-icon-menu {
  left: 50%;
  width: 304px;
  padding: 18px 22px;
  transform: translateX(-50%);
}

.nav-gate-api .nav-icon-menu {
  right: -24px;
  left: auto;
  transform: none;
}

.nav-menu-group {
  min-width: 0;
  padding: 0 18px;
}

.nav-menu-group + .nav-menu-group {
  border-left: 1px solid rgba(244, 247, 251, 0.14);
}

.nav-menu-label {
  margin: 0 0 5px;
  color: rgba(188, 232, 255, 0.7);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
}

.nav-gate-menu .nav-menu-group > :last-child {
  border-bottom: 0;
}

.omega-gate {
  position: relative;
  display: grid !important;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(244, 247, 251, 0.24);
  border-radius: 50%;
  color: rgba(244, 247, 251, 0.9) !important;
  font-family: Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  overflow: hidden;
}

.omega-gate::after {
  position: absolute;
  inset: auto 7px 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--focus), transparent);
  content: "";
  transform: scaleX(0.45);
  transition: transform 180ms ease;
}

.omega-gate:hover::after,
.omega-gate:focus-visible::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.signals-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid rgba(244, 247, 251, 0.28);
  background: rgba(5, 6, 8, 0.18);
  color: rgba(244, 247, 251, 0.8);
  cursor: pointer;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
}

.signals-toggle:hover,
.signals-toggle[aria-expanded="true"] {
  border-color: rgba(244, 247, 251, 0.7);
  color: var(--paper);
}

.signals-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a7def8;
  box-shadow: 0 0 12px rgba(167, 222, 248, 0.8);
}

.music-edge-toggle {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 240;
  display: grid;
  width: 50px;
  height: 148px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 247, 251, 0.24);
  border-right: 0;
  background: rgba(5, 6, 8, 0.76);
  color: var(--paper);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  transition: width 250ms var(--ease), border-color 250ms var(--ease), background-color 250ms var(--ease);
}

.music-edge-toggle:hover,
.music-edge-toggle[aria-expanded="true"] {
  width: 56px;
  border-color: rgba(188, 232, 255, 0.72);
  background: rgba(7, 10, 15, 0.92);
}

.music-edge-wave,
.music-playlist-loader {
  display: inline-flex;
  height: 24px;
  align-items: center;
  gap: 3px;
}

.music-edge-wave i,
.music-playlist-loader i {
  width: 2px;
  height: 6px;
  background: var(--focus);
  box-shadow: 0 0 9px rgba(188, 232, 255, 0.66);
  animation: musicWave 820ms ease-in-out infinite alternate;
}

.music-edge-wave i {
  animation-play-state: paused;
}

.music-edge-toggle:hover .music-edge-wave i,
.music-edge-toggle.is-playing .music-edge-wave i {
  animation-play-state: running;
}

.music-edge-wave i:nth-child(2),
.music-playlist-loader i:nth-child(2) { animation-delay: -520ms; }

.music-edge-wave i:nth-child(3),
.music-playlist-loader i:nth-child(3) { animation-delay: -220ms; }

.music-edge-wave i:nth-child(4),
.music-playlist-loader i:nth-child(4) { animation-delay: -640ms; }

@keyframes musicWave {
  to { height: 22px; }
}

.music-playlist-panel {
  position: fixed;
  inset: 0;
  z-index: 550;
}

.music-playlist-panel[hidden] {
  display: none;
}

.music-playlist-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.76);
  cursor: pointer;
}

.music-playlist-drawer {
  position: relative;
  width: min(720px, calc(100% - 56px));
  height: 100%;
  margin-left: auto;
  border-left: 1px solid rgba(244, 247, 251, 0.2);
  background: #020305;
  animation: musicDrawerIn 320ms var(--ease) both;
}

@keyframes musicDrawerIn {
  from { opacity: 0; transform: translateX(34px); }
  to { opacity: 1; transform: translateX(0); }
}

.music-playlist-close {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(244, 247, 251, 0.34);
  border-radius: 50%;
  background: rgba(3, 4, 6, 0.78);
  color: var(--paper);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.music-playlist-close:hover {
  border-color: rgba(244, 247, 251, 0.78);
}

.music-shell {
  display: grid;
  height: 100%;
  grid-template-rows: auto auto minmax(0, 1fr);
  padding: 30px 30px 0 82px;
  overflow: hidden;
}

.music-library-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 42px;
  align-items: end;
  gap: 20px;
  padding: 12px 0 26px;
  border-bottom: 1px solid rgba(244, 247, 251, 0.16);
}

.music-library-head img,
.music-current-cover,
.music-track-cover {
  display: block;
  object-fit: cover;
  background: rgba(244, 247, 251, 0.07);
}

.music-library-head img {
  width: 96px;
  height: 96px;
}

.music-library-copy {
  min-width: 0;
}

.music-library-copy h2 {
  margin: 0;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.9;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-library-copy p {
  margin: 10px 0 0;
  color: rgba(244, 247, 251, 0.56);
  font-size: 12px;
}

.music-library-external {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(244, 247, 251, 0.24);
  border-radius: 50%;
  color: rgba(244, 247, 251, 0.82);
  font-size: 20px;
  text-decoration: none;
}

.music-library-external:hover,
.music-library-external:focus-visible {
  border-color: rgba(188, 232, 255, 0.72);
  color: #fff;
}

.music-now-playing {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244, 247, 251, 0.16);
}

.music-current-cover {
  width: 58px;
  height: 58px;
}

.music-current-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.music-current-copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-current-copy span {
  color: rgba(244, 247, 251, 0.5);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.music-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.music-controls button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(244, 247, 251, 0.22);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.music-controls .music-play-toggle {
  width: 44px;
  height: 44px;
  border-color: rgba(244, 247, 251, 0.74);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
}

.music-controls button:disabled {
  cursor: default;
  opacity: 0.28;
}

.music-now-playing input[type="range"] {
  width: 100%;
  height: 2px;
  grid-column: 1 / -1;
  margin: 2px 0 0;
  accent-color: var(--focus);
  cursor: pointer;
}

.music-track-list {
  min-height: 0;
  margin: 0;
  padding: 8px 0 30px;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: rgba(188, 232, 255, 0.38) transparent;
  scrollbar-width: thin;
}

.music-track {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: 30px 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(244, 247, 251, 0.09);
  background: transparent;
  color: rgba(244, 247, 251, 0.76);
  cursor: pointer;
  text-align: left;
}

.music-track:hover,
.music-track:focus-visible,
.music-track.is-current {
  background: rgba(188, 232, 255, 0.07);
  color: #fff;
}

.music-track.is-current {
  box-shadow: inset 2px 0 var(--focus);
}

.music-track-number,
.music-track time {
  color: rgba(244, 247, 251, 0.4);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.music-track-cover {
  width: 44px;
  height: 44px;
}

.music-track strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-loading {
  display: grid;
  min-height: 180px;
  place-items: center;
}

.music-load-fallback {
  display: grid;
  min-height: 180px;
  place-items: center;
  color: rgba(244, 247, 251, 0.78);
  text-decoration: none;
}

.music-engine,
#music-engine {
  position: fixed !important;
  top: -2px !important;
  left: -2px !important;
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
  opacity: 0.01;
  pointer-events: none;
}

/* Ringan carries the music; Cristallo remains an open relation. */
.ringan-dock {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 245;
  width: 152px;
  height: 92px;
  pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.48));
}

.ringan-eye {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 108px;
  height: 88px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  pointer-events: auto;
}

.cristallo-orbit-system {
  position: relative;
  display: block;
  width: 98px;
  height: 76px;
  transition: filter 280ms ease, transform 360ms var(--ease);
}

.cristallo-orbit-system::before,
.cristallo-orbit-system::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 82%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 247, 251, 0.3), transparent);
  content: "";
  opacity: 0.45;
  transform: translate(-50%, -50%) scaleX(1);
  transition: opacity 220ms ease, transform 360ms var(--ease);
}

.cristallo-orbit-system::after {
  width: 1px;
  height: 82%;
  background: linear-gradient(0deg, transparent, rgba(244, 247, 251, 0.24), transparent);
}

.cristallo-orbit-track {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border: 1px solid rgba(244, 247, 251, 0.46);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  transform-origin: center;
  transition: opacity 220ms ease, border-color 220ms ease;
}

.cristallo-orbit-track b {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dce4e8;
  box-shadow: 0 0 9px rgba(220, 228, 232, 0.46);
  transform: translateX(-50%);
}

.cristallo-orbit-track-a {
  width: 88px;
  height: 40px;
  margin: -20px 0 0 -44px;
  border-color: rgba(121, 199, 255, 0.58);
  border-bottom-color: transparent;
  border-left-color: transparent;
  animation: cristalloOrbitA 9s linear infinite;
}

.cristallo-orbit-track-a b {
  background: #79c7ff;
  box-shadow: 0 0 11px rgba(121, 199, 255, 0.74);
}

.cristallo-orbit-track-b {
  width: 48px;
  height: 76px;
  margin: -38px 0 0 -24px;
  border-color: rgba(227, 186, 85, 0.5);
  border-bottom-color: transparent;
  border-left-color: transparent;
  animation: cristalloOrbitB 12s linear infinite reverse;
}

.cristallo-orbit-track-b b {
  background: #e3ba55;
  box-shadow: 0 0 11px rgba(227, 186, 85, 0.72);
}

.cristallo-orbit-track-c {
  width: 86px;
  height: 62px;
  margin: -31px 0 0 -43px;
  border-color: rgba(101, 207, 159, 0.42);
  border-bottom-color: transparent;
  border-left-color: transparent;
  animation: cristalloOrbitC 15s linear infinite;
}

.cristallo-orbit-track-c b {
  background: #65cf9f;
  box-shadow: 0 0 11px rgba(101, 207, 159, 0.72);
}

.cristallo-orbit-track-d {
  width: 66px;
  height: 54px;
  margin: -27px 0 0 -33px;
  border-color: rgba(239, 106, 91, 0.44);
  border-bottom-color: transparent;
  border-left-color: transparent;
  animation: cristalloOrbitD 18s linear infinite reverse;
}

.cristallo-orbit-track-d b {
  background: #ef6a5b;
  box-shadow: 0 0 11px rgba(239, 106, 91, 0.7);
}

.cristallo-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e87523;
  box-shadow: 0 0 16px rgba(232, 117, 35, 0.66);
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease, transform 360ms var(--ease);
}

.cristallo-orbit-tear {
  position: absolute;
  right: 22px;
  bottom: -12px;
  width: 5px;
  height: 11px;
  border-radius: 55% 55% 70% 70%;
  background: #9edfff;
  opacity: 0;
  transform: translateY(-7px) rotate(5deg);
  box-shadow: 0 0 13px rgba(158, 223, 255, 0.72);
  transition: opacity 220ms ease, transform 400ms var(--ease);
}

.ringan-eye:hover .cristallo-orbit-system,
.ringan-eye:focus-visible .cristallo-orbit-system,
.ringan-eye.is-playing .cristallo-orbit-system {
  filter: brightness(1.22) drop-shadow(0 0 14px rgba(128, 207, 247, 0.16));
}

.ringan-eye.is-closed .cristallo-orbit-system {
  filter: none;
  transform: scaleY(0.22);
}

.ringan-eye.is-closed .cristallo-orbit-system::before {
  opacity: 1;
  transform: translate(-50%, -50%) scaleX(1);
}

.ringan-eye.is-closed .cristallo-orbit-track {
  animation-play-state: paused;
  opacity: 0;
}

.ringan-eye.is-closed .cristallo-kaiman-path {
  opacity: 0;
}

.ringan-eye.is-closed .cristallo-orbit-core {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
}

.ringan-eye.is-closed .cristallo-orbit-tear {
  opacity: 1;
  transform: translateY(0) rotate(5deg);
}

.ringan-eye:not(.is-playing) .cristallo-orbit-track,
.ringan-eye:not(.is-playing) .cristallo-kaiman-path {
  animation-play-state: paused;
}

.cristallo-kaiman-path {
  position: absolute;
  inset: -4px;
  z-index: 4;
  opacity: 0.78;
  transform-origin: 50% 50%;
  transition: opacity 220ms ease;
  animation: kaimanTraverse 19s linear infinite;
}

.cristallo-kaiman-path .kaiman-scout {
  position: absolute;
  top: 39px;
  left: -26px;
  width: 32px;
  height: 24px;
  object-fit: contain;
  opacity: 0.9;
  transform: rotate(8deg);
  filter: drop-shadow(0 0 7px rgba(101, 207, 159, 0.3));
  animation: none;
}

#ringan-audio {
  display: none;
}

@keyframes cristalloOrbitA {
  to { transform: rotate(360deg); }
}

@keyframes cristalloOrbitB {
  from { transform: rotate(32deg); }
  to { transform: rotate(392deg); }
}

@keyframes cristalloOrbitC {
  from { transform: rotate(-24deg); }
  to { transform: rotate(336deg); }
}

@keyframes cristalloOrbitD {
  from { transform: rotate(58deg); }
  to { transform: rotate(418deg); }
}

@keyframes kaimanTraverse {
  0% { transform: rotate(-32deg) scale(0.9); }
  38% { transform: rotate(98deg) scale(1); }
  47% { transform: rotate(122deg) translateX(8px) scale(0.78); }
  53% { transform: rotate(151deg) translateX(-3px) scale(1.06); }
  100% { transform: rotate(328deg) scale(0.9); }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: var(--paper);
  transition: transform 250ms var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 90px 28px 42px;
  background: rgba(5, 6, 8, 0.97);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a,
.mobile-nav button,
.mobile-cluster summary {
  padding: 13px 0;
  border-bottom: 1px solid rgba(244, 247, 251, 0.15);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  text-decoration: none;
}

.mobile-cluster summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.mobile-cluster summary::-webkit-details-marker {
  display: none;
}

.mobile-cluster summary::after {
  color: rgba(167, 222, 248, 0.8);
  content: "+";
  font-size: 22px;
  font-weight: 400;
}

.mobile-cluster[open] summary::after {
  content: "−";
}

.mobile-cluster > div {
  display: grid;
  padding: 4px 0 12px 20px;
}

.mobile-cluster > div a,
.mobile-cluster > div button {
  padding: 9px 0;
  border-bottom: 0;
  color: rgba(244, 247, 251, 0.68);
  font-size: 20px;
}

.mobile-cluster-ideaing summary {
  justify-content: flex-start;
  gap: 13px;
}

.mobile-cluster-ideaing summary::after {
  margin-left: auto;
}

.mobile-cluster-ideaing summary img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.mobile-omega {
  width: 60px;
  border-bottom: 0 !important;
  color: rgba(224, 241, 255, 0.94) !important;
  font-family: Georgia, serif !important;
}

.signals-panel {
  position: fixed;
  inset: 0;
  z-index: 500;
}

.signals-panel[hidden] {
  display: none;
}

.signals-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.signals-drawer {
  position: relative;
  width: min(480px, 100%);
  height: 100%;
  margin-left: auto;
  overflow-y: auto;
  padding: 34px;
  border-left: 1px solid rgba(244, 247, 251, 0.2);
  background:
    radial-gradient(circle at 80% 8%, rgba(96, 173, 218, 0.14), transparent 28%),
    #07090d;
  animation: signalsIn 320ms var(--ease) both;
}

@keyframes signalsIn {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

.signals-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--faint);
}

.signals-head .eyebrow {
  margin-bottom: 10px;
}

.signals-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}

.signals-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.signals-list {
  border-bottom: 1px solid var(--faint);
}

.signal-item {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr 22px;
  gap: 8px 14px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--faint);
  color: var(--paper);
  text-decoration: none;
}

.signal-item:last-child {
  border-bottom: 0;
}

a.signal-item:hover strong,
a.signal-item:hover .signal-arrow {
  color: #bce8ff;
}

.signal-state {
  grid-row: 1 / span 2;
  padding-top: 3px;
  color: rgba(244, 247, 251, 0.45);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
}

.signal-state.is-live {
  color: #9ee5bd;
}

.signal-state.is-building {
  color: #ffd397;
}

.signal-item strong {
  font-family: var(--display);
  font-size: 17px;
}

.signal-item small {
  grid-column: 2 / 4;
  color: rgba(244, 247, 251, 0.56);
  font-size: 12px;
  line-height: 1.55;
}

.signal-arrow {
  color: rgba(244, 247, 251, 0.55);
  text-align: right;
}

.signals-note {
  margin: 28px 0 0;
  color: rgba(244, 247, 251, 0.38);
  font-size: 11px;
  line-height: 1.6;
}

.scene {
  position: relative;
  display: grid;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: #08090b;
}

.scene-media,
.scene-overlay {
  position: absolute;
  inset: 0;
}

.scene-media {
  z-index: -3;
  overflow: hidden;
}

.scene-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--parallax, 0), 0) scale(1.03);
  filter: saturate(0.94) contrast(1.04);
  will-change: transform;
}

.scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 20%;
  background: linear-gradient(to bottom, transparent, rgba(5, 6, 8, 0.45));
  pointer-events: none;
}

.scene-overlay {
  z-index: -2;
  pointer-events: none;
}

.scene-overlay-hero {
  background: linear-gradient(90deg, rgba(2, 4, 8, 0.84) 0%, rgba(3, 6, 12, 0.42) 42%, rgba(3, 5, 10, 0.06) 70%), linear-gradient(0deg, rgba(2, 4, 8, 0.62), transparent 48%);
}

.scene-overlay-left {
  background: linear-gradient(90deg, rgba(2, 4, 6, 0.9) 0%, rgba(2, 4, 6, 0.58) 38%, rgba(2, 4, 6, 0.05) 72%);
}

.scene-overlay-right {
  background: linear-gradient(270deg, rgba(2, 4, 6, 0.9) 0%, rgba(2, 4, 6, 0.58) 38%, rgba(2, 4, 6, 0.06) 72%);
}

.scene-overlay-center {
  background: linear-gradient(0deg, rgba(3, 5, 6, 0.78) 0%, rgba(3, 5, 6, 0.05) 70%), linear-gradient(90deg, rgba(3, 5, 6, 0.28), rgba(3, 5, 6, 0.04), rgba(3, 5, 6, 0.28));
}

.scene-overlay-team {
  background:
    linear-gradient(90deg, rgba(2, 4, 8, 0.94) 0%, rgba(2, 4, 8, 0.72) 54%, rgba(2, 4, 8, 0.2) 84%),
    linear-gradient(0deg, rgba(2, 4, 8, 0.8) 0%, transparent 58%);
}

.scene-copy {
  align-self: end;
  width: min(760px, calc(100% - (2 * var(--page-pad))));
  margin-bottom: 13vh;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.scene.is-visible .scene-copy {
  opacity: 1;
  transform: translateY(0);
}

.scene-copy-left {
  justify-self: start;
  margin-left: var(--page-pad);
}

.scene-copy-right {
  justify-self: end;
  margin-right: var(--page-pad);
  text-align: right;
}

.scene-copy-center {
  justify-self: center;
  width: min(880px, calc(100% - (2 * var(--page-pad))));
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  color: rgba(244, 247, 251, 0.75);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.scene-copy-right .eyebrow,
.scene-copy-center .eyebrow {
  justify-content: flex-end;
}

.scene-copy-center .eyebrow {
  justify-content: center;
}

.eyebrow span + span::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 18px 3px 0;
  background: rgba(244, 247, 251, 0.46);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.scene h1,
.scene h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 800;
  line-height: 0.94;
}

.scene-copy-right h2 {
  margin-left: auto;
}

.scene-line {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.scene-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 20px;
  border: 1px solid rgba(244, 247, 251, 0.48);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease);
}

.action:hover,
.action-primary:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.action-primary {
  background: rgba(5, 6, 8, 0.26);
}

.action-quiet {
  border-color: transparent;
}

.scene-copy-center .action {
  margin-top: 34px;
}

.team-copy {
  width: min(980px, calc(100% - (2 * var(--page-pad))));
  margin-bottom: 8vh;
}

.team-copy .scene-line {
  max-width: 640px;
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
  margin-top: 38px;
  border-bottom: 1px solid rgba(244, 247, 251, 0.22);
}

.team-member {
  min-width: 0;
  padding: 13px 20px 14px 0;
  border-top: 1px solid rgba(244, 247, 251, 0.22);
}

.team-member p {
  display: grid;
  grid-template-columns: auto minmax(34px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.team-member strong {
  font-family: var(--display);
  font-size: 19px;
}

.team-type {
  color: rgba(188, 232, 255, 0.78);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
}

.team-emblem {
  display: block;
  width: 42px;
  height: 42px;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.42));
  opacity: 0.96;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.team-member:hover .team-emblem {
  opacity: 1;
  transform: translateY(-1px);
  filter: drop-shadow(0 5px 11px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 8px rgba(197, 138, 42, 0.18));
}

.signal-glyph {
  color: #dff4ff;
  font-size: 24px;
  text-shadow: 0 0 14px rgba(167, 222, 248, 0.6);
}

.team-member:first-child .team-type {
  color: rgba(255, 211, 151, 0.9);
}

.team-member small {
  display: block;
  margin-top: 2px;
  color: rgba(244, 247, 251, 0.58);
  font-size: 12px;
}

.team-name {
  display: inline-flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
}

.team-member .team-ids {
  margin: 0;
  color: rgba(244, 247, 251, 0.4);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.team-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(244, 247, 251, 0.34);
  color: rgba(244, 247, 251, 0.72);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.team-links button {
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(244, 247, 251, 0.34);
  background: transparent;
  color: rgba(244, 247, 251, 0.72);
  cursor: pointer;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
}

.team-links button:hover {
  color: var(--paper);
}

.team-links a:hover {
  color: var(--paper);
}

.laan-lockup {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.44));
}

.laan-lockup img {
  display: block;
  width: 106px;
  height: 106px;
  object-fit: contain;
}

.laan-lockup span {
  display: flex;
  flex-direction: column;
  color: var(--paper);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.05;
  text-align: left;
}

.laan-lockup b {
  margin-top: 4px;
  color: rgba(210, 153, 84, 0.96);
  font-family: Tahoma, "Leelawadee UI", sans-serif;
  font-size: 40px;
  font-weight: 500;
}

.scene-laan .scene-line {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.scene-count {
  position: absolute;
  right: var(--page-pad);
  bottom: 30px;
  margin: 0;
  color: rgba(244, 247, 251, 0.54);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
}

.fork-experience {
  --fork-progress: 0;
  position: relative;
  height: 238svh;
  isolation: isolate;
  background: #030406;
  color: var(--paper);
}

.fork-sticky {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
  padding: calc(var(--header-height) + 34px) var(--page-pad) 32px;
  background:
    linear-gradient(90deg, rgba(17, 24, 31, 0.46), transparent 49.8%, rgba(32, 23, 13, 0.34) 50.2%, transparent),
    radial-gradient(circle at 18% 28%, rgba(93, 142, 167, 0.13), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(214, 151, 67, 0.1), transparent 32%),
    #030406;
}

.fork-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.fork-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.fork-experience.is-visible .fork-intro {
  opacity: 1;
  transform: translateY(0);
}

.fork-intro .eyebrow {
  margin: 0 0 auto;
}

.fork-intro h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 78px);
  line-height: 0.9;
  text-align: right;
}

.fork-grid {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  transition: grid-template-columns 850ms var(--ease), opacity 700ms var(--ease), transform 900ms var(--ease);
}

.fork-experience[data-choice="world"] .fork-grid {
  grid-template-columns: minmax(0, 1.68fr) minmax(270px, 0.72fr);
}

.fork-experience[data-choice="mugen"] .fork-grid {
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.68fr);
}

.fork-panel {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-rows: auto minmax(190px, 1fr) auto;
  gap: 12px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(244, 247, 251, 0.2);
  border-radius: 0;
  color: var(--paper);
  cursor: pointer;
  text-align: left;
  transition: border-color 300ms var(--ease), background-color 500ms var(--ease), opacity 700ms var(--ease), filter 700ms var(--ease);
  isolation: isolate;
}

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

.fork-panel::before {
  z-index: 0;
  background-image: url("../assets/hero-origin.png");
  background-repeat: no-repeat;
  background-size: 205% 100%;
  opacity: 0.46;
  filter: saturate(0.7) contrast(1.08);
  transform: scale(1.025);
  transition: opacity 700ms var(--ease), filter 700ms var(--ease), transform 900ms var(--ease);
}

.fork-panel::after {
  z-index: 1;
}

.fork-panel > * {
  position: relative;
  z-index: 2;
}

.fork-panel:hover::before,
.fork-panel:focus-visible::before,
.fork-panel[aria-pressed="true"]::before {
  opacity: 0.68;
  transform: scale(1);
}

.fork-panel:hover,
.fork-panel:focus-visible,
.fork-panel[aria-pressed="true"] {
  border-color: rgba(244, 247, 251, 0.72);
  outline: none;
}

.fork-world {
  background:
    radial-gradient(circle at 52% 48%, rgba(131, 180, 202, 0.15), transparent 44%),
    linear-gradient(145deg, rgba(18, 27, 35, 0.94), rgba(4, 6, 8, 0.98));
}

.fork-world::before {
  background-position: left center;
  filter: grayscale(0.48) saturate(0.58) contrast(1.14) brightness(0.68);
}

.fork-world::after {
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.94), rgba(4, 8, 12, 0.26) 58%, rgba(4, 6, 8, 0.78)),
    linear-gradient(0deg, rgba(2, 3, 5, 0.82), transparent 48%, rgba(2, 3, 5, 0.48));
}

.fork-mugen {
  background:
    radial-gradient(circle at 52% 58%, rgba(231, 173, 81, 0.17), transparent 46%),
    linear-gradient(215deg, rgba(37, 25, 13, 0.92), rgba(6, 7, 8, 0.98));
}

.fork-mugen::before {
  background-position: right center;
  filter: saturate(1.18) contrast(1.04) brightness(0.88);
}

.fork-mugen::after {
  background:
    linear-gradient(270deg, rgba(4, 5, 8, 0.9), rgba(19, 12, 7, 0.18) 58%, rgba(5, 6, 8, 0.68)),
    linear-gradient(0deg, rgba(3, 4, 6, 0.76), transparent 52%, rgba(3, 4, 6, 0.38));
}

.fork-label {
  position: relative;
  z-index: 3;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  transition: opacity 500ms var(--ease);
}

.fork-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  vertical-align: 1px;
}

.fork-world .fork-label {
  color: #a9d9ee;
}

.fork-mugen .fork-label {
  color: #ffd58a;
}

.fork-visual {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
}

.world-machine {
  perspective: 900px;
}

.world-sphere {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(164px, 24vw, 330px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(199, 232, 245, 0.48);
  border-radius: 50%;
  background:
    linear-gradient(rgba(6, 14, 19, 0.08), rgba(5, 10, 14, 0.52)),
    url("../assets/aging-memory-v2.png") 70% center / cover no-repeat;
  box-shadow: inset -28px -18px 48px rgba(0, 0, 0, 0.7), 0 0 60px rgba(109, 181, 213, 0.2);
  animation: worldSpin 9s linear infinite;
}

.world-sphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 14%, rgba(215, 241, 247, 0.15) 14.5% 15%, transparent 15.5% 28%),
    radial-gradient(circle at 64% 44%, transparent 0 24%, rgba(236, 199, 117, 0.14) 24.5% 26%, transparent 26.5%);
  mix-blend-mode: screen;
  animation: worldGrid 4.5s linear infinite;
}

.world-sphere::after {
  content: "";
  position: absolute;
  inset: 56% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 89, 44, 0.42));
  filter: blur(4px);
  animation: worldHeat 3.4s ease-in-out infinite alternate;
}

.world-trail {
  position: absolute;
  z-index: 3;
  display: block;
  width: 60%;
  height: 1px;
  border-top: 1px dashed rgba(245, 242, 222, 0.72);
  border-radius: 50%;
  transform-origin: center;
}

.world-trail-a { top: 34%; left: 17%; transform: rotate(18deg); }
.world-trail-b { top: 56%; left: 25%; transform: rotate(-29deg); }
.world-trail-c { top: 70%; left: 12%; transform: rotate(7deg); }

.world-orbit {
  position: absolute;
  z-index: 1;
  display: block;
  width: clamp(220px, 34vw, 470px);
  aspect-ratio: 1.9;
  border: 1px solid rgba(180, 225, 241, 0.2);
  border-radius: 50%;
  animation: orbitTurn 8s linear infinite;
}

.world-orbit-b {
  width: clamp(190px, 29vw, 400px);
  transform: rotate(62deg);
  animation-duration: 6s;
  animation-direction: reverse;
}

.world-drip {
  position: absolute;
  z-index: 4;
  top: calc(50% + clamp(72px, 11vw, 150px));
  width: 8px;
  height: 44px;
  border-radius: 0 0 9px 9px;
  background: linear-gradient(#d94c2d, #ffb36a);
  filter: drop-shadow(0 0 7px rgba(255, 91, 45, 0.52));
  transform-origin: top;
  animation: worldDrip 2.8s ease-in infinite;
}

.world-drip-a { left: 43%; }
.world-drip-b { left: 56%; height: 28px; animation-delay: -1.4s; }
.world-drip-c { left: 63%; height: 20px; animation-delay: -0.7s; }

.mugen-table {
  perspective: 840px;
}

.pizza-shadow {
  position: absolute;
  width: clamp(210px, 32vw, 430px);
  height: clamp(78px, 10vw, 132px);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.66);
  filter: blur(22px);
  transform: translateY(44px);
}

.pizza {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(185px, 28vw, 380px);
  aspect-ratio: 1;
  overflow: hidden;
  border: clamp(12px, 1.6vw, 22px) solid #c98942;
  border-radius: 50%;
  background:
    radial-gradient(circle at 23% 31%, #d44830 0 4%, transparent 4.6%),
    radial-gradient(circle at 66% 25%, #d44830 0 4%, transparent 4.6%),
    radial-gradient(circle at 75% 68%, #d44830 0 4%, transparent 4.6%),
    radial-gradient(circle at 37% 73%, #d44830 0 4%, transparent 4.6%),
    radial-gradient(circle at 50% 48%, #f2c35f, #d9943d 78%);
  box-shadow: inset 0 0 32px rgba(108, 45, 18, 0.52), 0 20px 34px rgba(0, 0, 0, 0.42);
  transform: rotateX(58deg) rotateZ(calc(-4deg + (var(--fork-progress) * 10deg)));
  animation: pizzaBreathe 3.2s ease-in-out infinite alternate;
}

.pizza-cut {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52%;
  height: 1px;
  background: rgba(103, 45, 20, 0.48);
  transform-origin: left;
}

.pizza-cut-a { transform: rotate(0deg); }
.pizza-cut-b { transform: rotate(120deg); }
.pizza-cut-c { transform: rotate(240deg); }

.topping {
  position: absolute;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #416d4d;
  box-shadow: inset -2px -2px 3px rgba(0, 0, 0, 0.35);
}

.topping-a { top: 22%; left: 46%; }
.topping-b { top: 43%; left: 21%; background: #efdf9d; }
.topping-c { top: 58%; left: 58%; }
.topping-d { top: 72%; left: 39%; background: #efdf9d; }
.topping-e { top: 38%; left: 73%; }

.table-pulse {
  position: absolute;
  z-index: 3;
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 215, 145, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 190, 91, 0.48);
  animation: tablePulse 2.6s ease-out infinite;
}

.table-pulse-a { top: 23%; left: 23%; }
.table-pulse-b { top: 38%; right: 19%; animation-delay: -0.9s; }
.table-pulse-c { right: 34%; bottom: 16%; animation-delay: -1.7s; }

.fork-copy {
  position: relative;
  z-index: 3;
  display: block;
  min-height: 64px;
  transition: opacity 500ms var(--ease);
}

.fork-copy strong,
.fork-copy small {
  display: block;
}

.fork-copy strong {
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 34px);
  line-height: 1;
}

.fork-copy small {
  max-width: 440px;
  margin-top: 9px;
  color: rgba(244, 247, 251, 0.6);
  font-size: 13px;
  line-height: 1.45;
}

.fork-experience[data-choice="world"] .fork-mugen,
.fork-experience[data-choice="mugen"] .fork-world {
  opacity: 0.56;
  filter: saturate(0.58);
}

.katoying-reveal {
  position: absolute;
  inset: auto var(--page-pad) 7vh;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(34px);
  transition: opacity 700ms var(--ease), transform 900ms var(--ease);
}

.katoying-reveal > p {
  margin: 0;
  color: #ffd58a;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
}

.katoying-reveal > div {
  display: grid;
  gap: 2px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 62px);
  font-weight: 800;
  line-height: 0.92;
}

.katoying-reveal span:last-child {
  color: #ffd58a;
}

.fork-experience[data-phase="katoying"] .fork-intro {
  opacity: 0;
  transform: translateY(-22px);
}

.fork-experience[data-phase="katoying"] .fork-grid {
  opacity: 0.12;
  filter: blur(1px) saturate(0.7);
  transform: scale(1.025);
}

.fork-experience[data-phase="katoying"] .fork-copy,
.fork-experience[data-phase="katoying"] .fork-label {
  opacity: 0;
}

.fork-experience[data-phase="katoying"] .katoying-reveal {
  opacity: 1;
  transform: translateY(0);
}

.fork-count {
  position: absolute;
  right: var(--page-pad);
  bottom: 24px;
  z-index: 9;
  margin: 0;
  color: rgba(244, 247, 251, 0.42);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
}

@keyframes worldSpin {
  50% { transform: rotate(3deg) scale(1.025); }
  100% { transform: rotate(0deg); }
}

@keyframes worldGrid {
  to { transform: translateX(28%); }
}

@keyframes worldHeat {
  to { opacity: 0.92; transform: translateY(-10%); }
}

@keyframes orbitTurn {
  to { transform: rotate(360deg); }
}

@keyframes worldDrip {
  0%, 18% { opacity: 0; transform: scaleY(0); }
  44% { opacity: 1; transform: scaleY(1); }
  76%, 100% { opacity: 0; transform: translateY(34px) scaleY(0.48); }
}

@keyframes pizzaBreathe {
  to { transform: rotateX(58deg) rotateZ(calc(2deg + (var(--fork-progress) * 10deg))) scale(1.025); }
}

@keyframes tablePulse {
  0% { opacity: 0.8; transform: scale(0.55); }
  78%, 100% { opacity: 0; transform: scale(3.2); }
}

.ideaing-preview {
  --ideaing-accent: #ffd27a;
  position: relative;
  min-height: 110svh;
  overflow: hidden;
  padding: 15vh var(--page-pad) 13vh;
  background: #080a0d;
  color: var(--paper);
  isolation: isolate;
}

.ideaing-preview[data-ideaing-stage="taste"] { --ideaing-accent: #8fe0bf; }
.ideaing-preview[data-ideaing-stage="cook"] { --ideaing-accent: #ff8568; }
.ideaing-preview[data-ideaing-stage="toge"] { --ideaing-accent: #9ec9ff; }

.ideaing-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(244, 247, 251, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 251, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.ideaing-shell {
  width: min(100%, 1420px);
  margin: 0 auto;
}

.ideaing-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  align-items: end;
  gap: 28px 72px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.ideaing-preview.is-visible .ideaing-intro {
  opacity: 1;
  transform: translateY(0);
}

.ideaing-intro .eyebrow {
  align-self: start;
  margin: 5px 0 0;
}

.ideaing-intro h2 {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.92;
  text-align: right;
}

.ideaing-intro > p:last-child {
  max-width: 420px;
  margin: 0;
  color: rgba(244, 247, 251, 0.62);
  font-size: 15px;
}

.ideaing-workbench {
  border-top: 1px solid rgba(244, 247, 251, 0.24);
  border-bottom: 1px solid rgba(244, 247, 251, 0.24);
}

.ideaing-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(244, 247, 251, 0.18);
}

.ideaing-tabs button {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  border-right: 1px solid rgba(244, 247, 251, 0.14);
  background: transparent;
  color: rgba(244, 247, 251, 0.42);
  cursor: pointer;
  text-align: left;
  transition: color 260ms var(--ease), background-color 260ms var(--ease);
}

.ideaing-tabs button:last-child {
  border-right: 0;
}

.ideaing-tabs button:hover,
.ideaing-tabs button:focus-visible,
.ideaing-tabs button[aria-selected="true"] {
  background: rgba(244, 247, 251, 0.045);
  color: var(--paper);
}

.ideaing-tabs button[aria-selected="true"] {
  box-shadow: inset 0 -2px 0 var(--ideaing-accent);
}

.ideaing-tabs button span {
  color: var(--ideaing-accent);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
}

.ideaing-tabs button strong {
  font-family: var(--display);
  font-size: 17px;
}

.ideaing-surface {
  position: relative;
  display: grid;
  min-height: 420px;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 54px;
  padding: 54px 7%;
  overflow: hidden;
}

.ideaing-companion {
  position: relative;
  display: grid;
  width: 210px;
  aspect-ratio: 1;
  place-self: center;
  place-items: center;
}

.ideaing-companion-core {
  position: relative;
  display: block;
  width: 64px;
  aspect-ratio: 1;
  border: 1px solid var(--ideaing-accent);
  border-radius: 50%;
  background: #0d1014;
  box-shadow: 0 0 32px color-mix(in srgb, var(--ideaing-accent) 38%, transparent);
  transition: border-color 360ms var(--ease), box-shadow 360ms var(--ease);
  animation: ideaingCore 2.8s ease-in-out infinite alternate;
}

.ideaing-companion-core::before,
.ideaing-companion-core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ideaing-accent);
  box-shadow: 0 0 10px var(--ideaing-accent);
  transform: translateY(-50%);
}

.ideaing-companion-core::before { left: calc(50% - 14px); }
.ideaing-companion-core::after { right: calc(50% - 14px); }

.ideaing-companion-orbit {
  position: absolute;
  inset: 18px;
  border: 1px solid color-mix(in srgb, var(--ideaing-accent) 36%, transparent);
  border-radius: 50%;
  animation: orbitTurn 11s linear infinite;
}

.ideaing-companion-orbit::before,
.ideaing-companion-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ideaing-accent);
  box-shadow: 0 0 14px var(--ideaing-accent);
}

.ideaing-companion-orbit::before { top: -5px; left: 50%; }
.ideaing-companion-orbit::after { right: 8px; bottom: 20%; }

.ideaing-panels article {
  max-width: 660px;
  animation: ideaingPanelIn 420ms var(--ease) both;
}

.ideaing-panels article[hidden] {
  display: none;
}

.ideaing-window-label {
  margin: 0 0 17px;
  color: var(--ideaing-accent);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
}

.ideaing-panels h3 {
  max-width: 620px;
  margin: 0;
  font-family: var(--display);
  font-size: 44px;
  line-height: 0.98;
}

.ideaing-panels article > p:not(.ideaing-window-label) {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(244, 247, 251, 0.62);
  font-size: 15px;
  line-height: 1.65;
}

.ideaing-transform {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 36px;
  color: rgba(244, 247, 251, 0.42);
  font-family: var(--display);
  font-size: 12px;
}

.ideaing-transform i {
  color: var(--ideaing-accent);
  font-style: normal;
}

.ideaing-transform strong {
  color: var(--paper);
}

.ideaing-inline-door {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.ideaing-inline-door span {
  color: var(--ideaing-accent);
  transition: transform 180ms ease;
}

.ideaing-inline-door:hover span,
.ideaing-inline-door:focus-visible span {
  transform: translate(3px, -3px);
}

.ideaing-status {
  position: absolute;
  right: 20px;
  bottom: 16px;
  margin: 0;
  color: rgba(244, 247, 251, 0.36);
  font-size: 11px;
}

.ideaing-trace {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.ideaing-trace li {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: rgba(244, 247, 251, 0.3);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
}

.ideaing-trace li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 32px;
  z-index: -1;
  height: 1px;
  background: rgba(244, 247, 251, 0.12);
}

.ideaing-trace li span {
  width: 8px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #080a0d;
}

.ideaing-trace li.is-current,
.ideaing-trace li.is-complete {
  color: var(--ideaing-accent);
}

.ideaing-trace li.is-current span {
  background: var(--ideaing-accent);
  box-shadow: 0 0 12px var(--ideaing-accent);
}

.ideaing-public-door {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 76px;
  align-items: center;
  gap: 24px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(244, 247, 251, 0.24);
  color: var(--paper);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
  width: 100%;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.ideaing-public-door:hover,
.ideaing-public-door:focus-visible {
  color: var(--ideaing-accent);
  background: rgba(255, 255, 255, 0.035);
}

.ideaing-public-door span,
.ideaing-public-door i {
  color: rgba(244, 247, 251, 0.42);
  font-family: var(--display);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.ideaing-public-door strong {
  font-family: var(--display);
  font-size: 16px;
  text-align: right;
}

@keyframes ideaingCore {
  to { transform: scale(1.08); }
}

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

.quiet-end {
  display: flex;
  min-height: 78svh;
  flex-direction: column;
  justify-content: space-between;
  padding: 22vh var(--page-pad) 38px;
  background: #050608;
}

.fouting-end {
  min-height: 100svh;
  padding-top: 18vh;
  background:
    radial-gradient(circle at 74% 72%, rgba(241, 182, 86, 0.06), transparent 27%),
    #050608;
}

.fouting-definition {
  max-width: 580px;
  margin: 26px 0 0;
  color: rgba(244, 247, 251, 0.58);
  font-size: 16px;
  line-height: 1.6;
}

.fouting-rest {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.fouting-rest p {
  margin: 0;
  color: rgba(244, 247, 251, 0.4);
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

.fouting-rest strong {
  display: block;
  margin-top: 12px;
  color: rgba(244, 247, 251, 0.78);
  font-family: var(--display);
  font-size: 16px;
}

.fouting-heart {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
}

.fouting-heart::before,
.fouting-heart::after,
.fouting-heart i {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.fouting-heart i {
  width: 7px;
  height: 7px;
  background: #ffd58a;
  box-shadow: 0 0 16px rgba(255, 213, 138, 0.58);
}

.fouting-heart::before,
.fouting-heart::after {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 213, 138, 0.42);
  animation: foutingPulse 3.6s ease-out infinite;
}

.fouting-heart::after {
  animation-delay: -1.8s;
}

@keyframes foutingPulse {
  0% { opacity: 0.8; transform: scale(0.2); }
  80%, 100% { opacity: 0; transform: scale(1.5); }
}

.mugen-origin {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  background: #030507;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.mugen-origin.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mugen-origin-media,
.mugen-origin-shade {
  position: absolute;
  inset: 0;
}

.mugen-origin-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: transform 7s ease-out;
}

.mugen-origin.is-visible .mugen-origin-media img {
  transform: scale(1);
}

.mugen-origin-shade {
  background:
    linear-gradient(90deg, rgba(2, 4, 6, 0.97) 0%, rgba(2, 4, 6, 0.82) 36%, rgba(2, 4, 6, 0.16) 68%),
    linear-gradient(0deg, rgba(2, 4, 6, 0.96) 0%, transparent 52%);
}

.mugen-origin-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - (2 * var(--page-pad))));
  margin: 0 auto;
  padding: 22vh 0 7vh;
}

.mugen-origin-copy h2 {
  max-width: 880px;
  margin: 18px 0 24px;
  font-family: var(--display);
  font-size: clamp(54px, 7.4vw, 116px);
  line-height: 0.88;
  letter-spacing: 0;
}

.mugen-origin-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(244, 247, 251, 0.68);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
}

.mugen-force-strip {
  display: flex;
  max-width: 650px;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 26px;
  color: rgba(244, 247, 251, 0.7);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
}

.mugen-force-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mugen-force-strip i {
  width: 7px;
  height: 7px;
  border-radius: 48% 28% 56% 36%;
  background: #79c7ff;
  box-shadow: 0 0 8px rgba(121, 199, 255, 0.68);
}

.mugen-force-strip span:nth-child(2) i {
  background: #ef6a5b;
  box-shadow: 0 0 8px rgba(239, 106, 91, 0.64);
}

.mugen-force-strip span:nth-child(3) i {
  background: #e3ba55;
  box-shadow: 0 0 8px rgba(227, 186, 85, 0.64);
}

.mugen-force-strip span:nth-child(4) i {
  background: #65cf9f;
  box-shadow: 0 0 8px rgba(101, 207, 159, 0.64);
}

.mugen-tunnel-entry {
  position: relative;
  display: grid;
  width: min(650px, 100%);
  min-height: 88px;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 5px 18px;
  margin-top: 30px;
  padding: 17px 22px;
  border: 1px solid rgba(121, 199, 255, 0.34);
  border-radius: 2px;
  background: rgba(2, 4, 6, 0.66);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.mugen-tunnel-entry::before {
  position: absolute;
  top: -1px;
  left: 22px;
  width: 82px;
  height: 2px;
  background: #dfa95f;
  content: "";
}

.mugen-tunnel-entry:hover,
.mugen-tunnel-entry:focus-visible {
  border-color: rgba(121, 199, 255, 0.78);
  background: rgba(121, 199, 255, 0.1);
  transform: translateY(-2px);
}

.mugen-tunnel-entry-date,
.mugen-tunnel-entry strong,
.mugen-tunnel-entry small,
.mugen-tunnel-entry b {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mugen-tunnel-entry-date {
  grid-column: 1;
  color: #dfa95f;
  font-size: 8px;
}

.mugen-tunnel-entry strong {
  grid-column: 1;
  font-size: 13px;
}

.mugen-tunnel-entry small {
  grid-column: 1;
  color: rgba(244, 247, 251, 0.42);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.mugen-tunnel-entry b {
  grid-row: 1 / 4;
  grid-column: 2;
  align-self: center;
  color: #79c7ff;
  font-size: 18px;
}

.mugen-origin-branches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
  border-top: 1px solid rgba(244, 247, 251, 0.24);
  border-bottom: 1px solid rgba(244, 247, 251, 0.24);
}

.mugen-origin-branches a {
  display: grid;
  min-height: 132px;
  align-content: center;
  gap: 7px;
  padding: 20px 24px;
  border-right: 1px solid rgba(244, 247, 251, 0.18);
  color: var(--paper);
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease;
}

.mugen-origin-branches a:last-child {
  border-right: 0;
}

.mugen-origin-branches a:hover,
.mugen-origin-branches a:focus-visible {
  background: rgba(188, 232, 255, 0.09);
  color: #bce8ff;
}

.mugen-origin-branches span,
.mugen-origin-branches small {
  color: rgba(244, 247, 251, 0.46);
  font-size: 10px;
}

.mugen-origin-branches strong {
  font-family: var(--display);
  font-size: 15px;
}

.mugen-futures {
  margin-top: 14px;
  border-bottom: 1px solid rgba(244, 247, 251, 0.24);
}

.mugen-futures summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(244, 247, 251, 0.76);
  cursor: pointer;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}

.mugen-futures summary::-webkit-details-marker {
  display: none;
}

.mugen-futures summary small {
  color: rgba(244, 247, 251, 0.34);
  font-size: 9px;
}

.mugen-futures summary::after {
  color: #bce8ff;
  content: "+";
  font-size: 20px;
  font-weight: 400;
}

.mugen-futures[open] summary::after {
  content: "−";
}

.mugen-futures-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(244, 247, 251, 0.14);
}

.mugen-futures-list > * {
  display: grid;
  min-height: 100px;
  align-content: center;
  gap: 6px;
  padding: 16px 22px;
  border-right: 1px solid rgba(244, 247, 251, 0.14);
  color: var(--paper);
  text-decoration: none;
}

.mugen-futures-list > *:last-child {
  border-right: 0;
}

.mugen-futures-list a:hover,
.mugen-futures-list a:focus-visible {
  background: rgba(188, 232, 255, 0.08);
}

.mugen-futures-list span,
.mugen-futures-list small {
  color: rgba(244, 247, 251, 0.44);
  font-size: 9px;
}

.mugen-futures-list strong {
  font-family: var(--display);
  font-size: 13px;
}

.mugen-lung {
  position: relative;
  display: grid;
  min-height: 96svh;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  overflow: hidden;
  border-top: 1px solid rgba(188, 232, 255, 0.16);
  border-bottom: 1px solid rgba(188, 232, 255, 0.16);
  background: #03070a;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.section-anchor-alias {
  position: absolute;
  top: calc(-1 * var(--header-height));
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.mugen-lung.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mugen-lung-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 96svh;
  flex-direction: column;
  justify-content: center;
  padding: 112px clamp(42px, 7vw, 118px) 92px;
}

.mugen-lung-copy h2 {
  margin: 20px 0 28px;
  font-family: var(--display);
  font-size: 76px;
  line-height: 0.9;
  letter-spacing: 0;
}

.mugen-lung-lead {
  max-width: 600px;
  margin: 0;
  color: rgba(244, 247, 251, 0.68);
  font-size: 18px;
  line-height: 1.58;
}

.mugen-lung-proof {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid rgba(188, 232, 255, 0.24);
  border-bottom: 1px solid rgba(188, 232, 255, 0.24);
}

.mugen-lung-proof p {
  display: grid;
  min-height: 82px;
  align-content: center;
  gap: 7px;
  margin: 0;
  padding: 14px 16px;
  border-right: 1px solid rgba(188, 232, 255, 0.16);
}

.mugen-lung-proof p:last-child {
  border-right: 0;
}

.mugen-lung-proof span,
.mugen-lung-organs span,
.ark-visual-head,
.ark-foundry span,
.ark-foundry small,
.ark-shell-caption span,
.ark-flow span,
.ark-utility-bay,
.ark-service-aisle span,
.ark-breath-meter {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
}

.mugen-lung-proof span {
  color: #65cf9f;
  font-size: 8px;
}

.mugen-lung-proof p:nth-child(2) span {
  color: #79c7ff;
}

.mugen-lung-proof p:nth-child(3) span {
  color: #dfa95f;
}

.mugen-lung-proof strong {
  color: rgba(244, 247, 251, 0.82);
  font-size: 11px;
  line-height: 1.25;
}

.mugen-lung-details {
  width: 100%;
  max-width: 620px;
  margin-top: 22px;
  border-bottom: 1px solid rgba(188, 232, 255, 0.2);
}

.mugen-lung-details summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  color: rgba(244, 247, 251, 0.72);
  cursor: pointer;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
  list-style: none;
}

.mugen-lung-details summary::-webkit-details-marker {
  display: none;
}

.mugen-lung-details summary span {
  color: #79c7ff;
  font-size: 18px;
  transition: transform 220ms var(--ease);
}

.mugen-lung-details[open] summary span {
  transform: rotate(45deg);
}

.mugen-lung-organs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(188, 232, 255, 0.14);
}

.mugen-lung-organs p {
  display: grid;
  min-height: 74px;
  align-content: center;
  gap: 7px;
  margin: 0;
  padding: 13px 16px;
  border-right: 1px solid rgba(188, 232, 255, 0.12);
  border-bottom: 1px solid rgba(188, 232, 255, 0.12);
}

.mugen-lung-organs p:nth-child(2n) {
  border-right: 0;
}

.mugen-lung-organs p:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.mugen-lung-organs span {
  color: rgba(121, 199, 255, 0.54);
  font-size: 8px;
}

.mugen-lung-organs strong {
  color: rgba(244, 247, 251, 0.76);
  font-size: 11px;
  line-height: 1.35;
}

.mugen-lung-source {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(121, 199, 255, 0.46);
  color: rgba(244, 247, 251, 0.86);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
}

.mugen-lung-source:hover {
  color: #bce8ff;
}

.foundry-funding {
  display: grid;
  width: 100%;
  max-width: 620px;
  grid-template-columns: minmax(0, 0.7fr) minmax(170px, 1.3fr);
  gap: 8px 22px;
  margin-top: 26px;
  padding: 18px 0;
  border-top: 1px solid rgba(223, 169, 95, 0.3);
  border-bottom: 1px solid rgba(223, 169, 95, 0.18);
}

.foundry-funding-label,
.foundry-funding-principles {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.foundry-funding-label {
  align-self: end;
  color: #dfa95f;
}

.foundry-funding-target {
  grid-row: span 2;
  color: rgba(244, 247, 251, 0.94);
  font-family: var(--display);
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 1;
  text-align: right;
}

.foundry-funding-meta {
  max-width: 330px;
  margin: 0;
  color: rgba(244, 247, 251, 0.48);
  font-size: 11px;
  line-height: 1.45;
}

.foundry-funding-principles {
  grid-column: 1 / -1;
  margin: 5px 0 0;
  color: rgba(101, 207, 159, 0.68);
  letter-spacing: 0.08em;
}

.foundry-actions {
  display: flex;
  max-width: 620px;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
}

.foundry-actions .mugen-lung-source {
  margin-top: 0;
}

.mugen-lung-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(244, 247, 251, 0.36);
  font-size: 11px;
  line-height: 1.55;
}

.mugen-lung-visual {
  position: relative;
  display: flex;
  min-height: 96svh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 108px clamp(36px, 4vw, 68px) 84px;
  border-left: 1px solid rgba(188, 232, 255, 0.14);
  background-color: #061016;
}

.mugen-lung-visual::before,
.mugen-lung-visual::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.mugen-lung-visual::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(121, 199, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 199, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.mugen-lung-visual::after {
  top: 9%;
  right: 8%;
  bottom: 9%;
  left: 8%;
  border: 1px solid rgba(121, 199, 255, 0.08);
}

.ark-visual-head {
  position: absolute;
  z-index: 3;
  top: 34px;
  right: clamp(36px, 4vw, 68px);
  left: clamp(36px, 4vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(188, 232, 255, 0.64);
  font-size: 9px;
}

.ark-visual-head strong {
  color: #dfa95f;
  font-size: 8px;
}

.ark-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  aspect-ratio: 1.72;
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(188, 232, 255, 0.34);
  background: rgba(2, 8, 12, 0.9);
  box-shadow: inset 0 0 0 8px rgba(121, 199, 255, 0.025);
}

.ark-shell::before,
.ark-shell::after {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 11px;
  border: 1px solid rgba(188, 232, 255, 0.2);
  content: "";
}

.ark-shell::before {
  left: 8px;
  border-right: 0;
}

.ark-shell::after {
  right: 8px;
  border-left: 0;
}

.ark-gantry-track {
  position: absolute;
  z-index: 5;
  top: 10%;
  right: 8%;
  left: 8%;
  height: 18px;
  border-top: 1px solid rgba(223, 169, 95, 0.4);
}

.ark-gantry-track span {
  position: absolute;
  top: 6px;
  right: 0;
  color: rgba(223, 169, 95, 0.58);
  font-family: var(--display);
  font-size: 7px;
  font-weight: 800;
}

.ark-gantry-track i {
  position: absolute;
  top: -4px;
  left: 8%;
  width: 18px;
  height: 9px;
  border: 1px solid rgba(223, 169, 95, 0.9);
  background: #061016;
  animation: arkGantry 8s ease-in-out infinite;
}

.ark-gantry-track i::after {
  position: absolute;
  top: 8px;
  left: 7px;
  width: 2px;
  height: 54px;
  background: rgba(223, 169, 95, 0.5);
  content: "";
}

.ark-banks {
  position: absolute;
  z-index: 3;
  top: 24%;
  right: 8%;
  bottom: 32%;
  left: 8%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(48px, 0.82fr) repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.ark-banks > i {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(188, 232, 255, 0.34);
  background:
    repeating-linear-gradient(to bottom, rgba(121, 199, 255, 0.16) 0 2px, transparent 2px 9px),
    rgba(8, 20, 27, 0.9);
}

.ark-banks > i::after {
  position: absolute;
  right: 18%;
  bottom: 5px;
  left: 18%;
  height: 2px;
  background: #65cf9f;
  box-shadow: 0 0 10px rgba(101, 207, 159, 0.6);
  content: "";
  animation: arkBankPulse 4.8s ease-in-out infinite;
}

.ark-service-aisle {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: end center;
  overflow: hidden;
  border: 1px dashed rgba(223, 169, 95, 0.5);
  background: rgba(223, 169, 95, 0.035);
  font-style: normal;
}

.ark-service-aisle span {
  padding-bottom: 7px;
  color: rgba(223, 169, 95, 0.66);
  font-size: 6px;
  writing-mode: vertical-rl;
}

.ark-service-aisle em {
  position: absolute;
  top: 13%;
  left: 50%;
  width: 24px;
  height: 18px;
  border: 1px solid #dfa95f;
  background: #0d1d25;
  box-shadow: 0 0 16px rgba(223, 169, 95, 0.24);
  transform: translateX(-50%);
  animation: arkCartridge 6s ease-in-out infinite;
}

.ark-flow {
  position: absolute;
  z-index: 2;
  top: 28%;
  bottom: 36%;
  display: flex;
  width: 18px;
  align-items: center;
  justify-content: center;
}

.ark-flow-cold {
  left: 3%;
  color: #79c7ff;
}

.ark-flow-hot {
  right: 3%;
  color: #dfa95f;
}

.ark-flow i {
  position: relative;
  width: 2px;
  height: 100%;
  overflow: hidden;
  background: currentColor;
  opacity: 0.36;
}

.ark-flow i::after {
  position: absolute;
  left: 0;
  width: 2px;
  height: 28%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
  content: "";
  animation: arkFlow 2.8s linear infinite;
}

.ark-flow span {
  position: absolute;
  color: currentColor;
  font-size: 6px;
  transform: rotate(-90deg);
}

.ark-utility-bay {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 20%;
  left: 8%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 30px;
  border: 1px solid rgba(223, 169, 95, 0.26);
  color: rgba(223, 169, 95, 0.52);
  font-size: 6px;
  text-align: center;
}

.ark-utility-bay span {
  display: grid;
  place-content: center;
  border-right: 1px solid rgba(223, 169, 95, 0.18);
}

.ark-utility-bay span:last-child {
  border-right: 0;
}

.ark-shell-caption {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 6%;
  left: 8%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
}

.ark-shell-caption span {
  color: rgba(188, 232, 255, 0.46);
  font-size: 7px;
}

.ark-shell-caption strong {
  max-width: 320px;
  color: rgba(244, 247, 251, 0.74);
  font-size: 9px;
  line-height: 1.35;
  text-align: right;
}

.ark-foundry {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 760px);
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: center;
  margin: 30px auto 0;
}

.ark-foundry p {
  display: grid;
  min-width: 0;
  min-height: 76px;
  align-content: center;
  gap: 4px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(188, 232, 255, 0.18);
  background: rgba(3, 9, 13, 0.78);
}

.ark-foundry span,
.ark-foundry small {
  color: rgba(121, 199, 255, 0.5);
  font-size: 6px;
}

.ark-foundry strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(244, 247, 251, 0.78);
  font-family: var(--display);
  font-size: 10px;
}

.ark-foundry small {
  color: rgba(101, 207, 159, 0.5);
}

.ark-foundry > i {
  height: 1px;
  background: rgba(121, 199, 255, 0.28);
}

.ark-breath-meter {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 760px);
  align-items: center;
  gap: 14px;
  margin: 26px auto 0;
  color: rgba(244, 247, 251, 0.34);
  font-size: 7px;
}

.ark-breath-meter i {
  position: relative;
  display: block;
  height: 2px;
  flex: 1;
  overflow: hidden;
  background: rgba(244, 247, 251, 0.12);
}

.ark-breath-meter i::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 24%;
  background: #65cf9f;
  content: "";
  animation: arkMeter 4.8s ease-in-out infinite;
}

@keyframes arkGantry {
  0%, 100% { left: 8%; }
  48%, 52% { left: calc(50% - 9px); }
}

@keyframes arkCartridge {
  0%, 18%, 82%, 100% { opacity: 0.42; transform: translate(-50%, -12px); }
  45%, 55% { opacity: 1; transform: translate(-50%, 34px); }
}

@keyframes arkFlow {
  from { top: -28%; }
  to { top: 100%; }
}

@keyframes arkBankPulse {
  0%, 100% { opacity: 0.38; }
  50% { opacity: 1; }
}

@keyframes arkMeter {
  0%, 100% { width: 18%; opacity: 0.55; }
  50% { width: 72%; opacity: 1; }
}

.quiet-end h2 {
  max-width: 800px;
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: 72px;
  line-height: 0.95;
}

.text-link {
  padding: 0 0 6px;
  border-bottom: 1px solid rgba(244, 247, 251, 0.42);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
}

.text-link:hover {
  color: var(--paper);
}

.honesty-note {
  max-width: 650px;
  margin: 0;
  color: rgba(244, 247, 251, 0.36);
  font-size: 11px;
  line-height: 1.6;
}

.trace-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #080a0e;
  color: var(--paper);
}

.book-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #050608;
  color: var(--paper);
}

.book-dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.book-shell {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr auto;
  background: #050608;
}

.book-header {
  z-index: 2;
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px var(--page-pad);
  border-bottom: 1px solid rgba(244, 247, 251, 0.18);
  background: rgba(5, 6, 8, 0.96);
}

.book-header h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1;
}

.book-tools {
  display: flex;
  align-items: center;
  gap: 24px;
}

.book-tools a {
  color: rgba(244, 247, 251, 0.75);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.book-tools a:hover {
  color: var(--paper);
}

.book-close {
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 36px;
  font-weight: 200;
  line-height: 1;
}

.book-frame {
  width: 100%;
  height: 100%;
  min-height: calc(100svh - 94px);
  border: 0;
  background: #fff;
}

.book-fallback {
  margin: 0;
  padding: 12px var(--page-pad);
  color: rgba(244, 247, 251, 0.55);
  font-size: 11px;
}

.book-fallback a {
  color: var(--paper);
}

.ideaing-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #07101b;
  color: var(--paper);
}

.ideaing-dialog::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.ideaing-dialog-shell {
  display: grid;
  height: 100%;
  grid-template-rows: 76px minmax(0, 1fr);
  background: #07101b;
}

.ideaing-dialog-header {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid rgba(158, 201, 255, 0.18);
  background: rgba(7, 16, 27, 0.97);
}

.ideaing-dialog-header > div,
.ideaing-dialog-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ideaing-dialog-header img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.ideaing-dialog-header span {
  display: grid;
  gap: 3px;
}

.ideaing-dialog-header strong {
  font-family: var(--display);
  font-size: 15px;
}

.ideaing-dialog-header small {
  color: rgba(244, 247, 251, 0.48);
  font-size: 10px;
}

.ideaing-dialog-tools a {
  color: rgba(244, 247, 251, 0.68);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.ideaing-dialog-tools button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(244, 247, 251, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 24px;
}

.ideaing-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #07101b;
}

.trace-dialog::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.trace-dialog[open] {
  animation: traceIn 360ms var(--ease) both;
}

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

.trace-shell {
  min-height: 100%;
  background: radial-gradient(circle at 82% 18%, rgba(85, 157, 208, 0.11), transparent 32%), #080a0e;
}

.trace-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 var(--page-pad);
  background: rgba(8, 10, 14, 0.82);
  backdrop-filter: blur(18px);
}

.trace-close {
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 36px;
  font-weight: 200;
  line-height: 1;
}

.trace-content {
  width: min(1180px, calc(100% - (2 * var(--page-pad))));
  margin: 0 auto;
  padding: 12vh 0 100px;
}

.trace-content > h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: 84px;
  line-height: 0.94;
}

.trace-lead {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.trace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 110px;
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

.trace-grid section {
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid var(--faint);
}

.trace-grid section:first-child {
  padding-left: 0;
}

.trace-grid section:last-child {
  border-right: 0;
}

.trace-index {
  margin: 0 0 52px;
  color: rgba(244, 247, 251, 0.34);
  font-size: 11px;
}

.trace-grid h3 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 34px;
}

.trace-grid section > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.trace-questions {
  margin: 110px 0;
}

.trace-questions p {
  margin: 0;
  border-bottom: 1px solid var(--faint);
  font-family: var(--display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.3;
}

.trace-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--faint);
  color: rgba(244, 247, 251, 0.48);
  font-size: 12px;
}

.trace-footer p {
  max-width: 480px;
  margin: 0;
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
    --page-pad: 24px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .signals-toggle {
    display: none;
  }

  .ringan-dock {
    right: 18px;
    bottom: 18px;
    width: 112px;
    height: 70px;
  }

  .ringan-dock .ringan-eye { width: 70px; height: 70px; }
  .cristallo-orbit-system { transform: scale(0.9); }
  .kaiman-scout { width: 48px; height: 38px; }

  .mugen-origin {
    min-height: 100svh;
  }

  .mugen-origin-copy {
    width: calc(100% - (2 * var(--page-pad)));
    padding-top: calc(var(--header-height) + 54px);
  }

  .mugen-origin-copy h2 {
    max-width: 760px;
    font-size: clamp(54px, 9vw, 82px);
  }

  .mugen-origin-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mugen-origin-branches a:nth-child(2) {
    border-right: 0;
  }

  .mugen-origin-branches a:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(244, 247, 251, 0.18);
  }

  .mugen-futures-list {
    grid-template-columns: 1fr;
  }

  .mugen-futures-list > * {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 247, 251, 0.14);
  }

  .mugen-futures-list > *:last-child {
    border-bottom: 0;
  }

  .mugen-lung {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .mugen-lung-copy {
    min-height: 0;
    padding: 112px var(--page-pad) 72px;
  }

  .mugen-lung-copy h2 {
    font-size: 64px;
  }

  .mugen-lung-visual {
    min-height: 780px;
    border-top: 1px solid rgba(188, 232, 255, 0.14);
    border-left: 0;
  }

  .foundry-funding-target {
    font-size: 34px;
  }

  .ideaing-dialog-header {
    padding: 0 18px;
  }

  .ideaing-dialog-tools a {
    padding: 0 14px;
  }

  .music-edge-toggle {
    top: calc(var(--header-height) + 84px);
    bottom: auto;
    width: 46px;
    height: 104px;
    transform: none;
  }

  .scene-copy {
    margin-bottom: 12vh;
  }

  .scene h1,
  .scene h2,
  .quiet-end h2 {
    font-size: 54px;
  }

  .scene-copy-right {
    justify-self: start;
    margin-right: 0;
    margin-left: var(--page-pad);
    text-align: left;
  }

  .scene-copy-right .eyebrow {
    justify-content: flex-start;
  }

  .scene-copy-right h2 {
    margin-left: 0;
  }

  .scene-overlay-right {
    background: linear-gradient(90deg, rgba(2, 4, 6, 0.86), rgba(2, 4, 6, 0.24) 70%);
  }

  .trace-content > h2 {
    font-size: 60px;
  }

  .trace-grid {
    grid-template-columns: 1fr;
    margin-top: 70px;
  }

  .trace-grid section,
  .trace-grid section:first-child {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--faint);
  }

  .trace-grid section:last-child {
    border-bottom: 0;
  }

  .trace-index {
    margin-bottom: 18px;
  }

  .trace-questions p {
    font-size: 42px;
  }

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

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

  .fork-sticky {
    padding-right: 24px;
    padding-left: 24px;
  }

  .fork-intro h2 {
    font-size: 48px;
  }

  .fork-experience[data-choice="world"] .fork-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.72fr);
  }

  .fork-experience[data-choice="mugen"] .fork-grid {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.35fr);
  }

  .katoying-reveal {
    right: 24px;
    left: 24px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ideaing-preview {
    min-height: 100svh;
    padding-top: 12vh;
    padding-bottom: 10vh;
  }

  .ideaing-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 34px;
  }

  .ideaing-intro h2 {
    grid-column: 1;
    grid-row: auto;
    font-size: 48px;
    text-align: left;
  }

  .ideaing-intro > p:last-child {
    max-width: 520px;
  }

  .ideaing-surface {
    min-height: 0;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
    padding: 44px 5% 66px;
  }

  .ideaing-companion {
    width: 160px;
  }

  .ideaing-panels h3 {
    font-size: 38px;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 18px;
  }

  .ringan-dock {
    right: 12px;
    bottom: 14px;
    width: 94px;
    height: 58px;
  }

  .ringan-dock .ringan-eye { width: 58px; height: 58px; }
  .cristallo-orbit-system { transform: scale(0.73); }
  .ringan-eye.is-closed .cristallo-orbit-system { transform: scale(0.73) scaleY(0.26); }
  .kaiman-scout { width: 40px; height: 32px; }

  .mugen-origin-copy {
    align-self: end;
    padding-top: 110px;
    padding-bottom: 72px;
  }

  .mugen-lung-copy h2 {
    font-size: 48px;
  }

  .mugen-lung-lead {
    font-size: 16px;
  }

  .mugen-lung-proof {
    grid-template-columns: 1fr;
  }

  .mugen-lung-proof p,
  .mugen-lung-proof p:last-child {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid rgba(188, 232, 255, 0.16);
  }

  .mugen-lung-proof p:last-child {
    border-bottom: 0;
  }

  .mugen-lung-organs {
    grid-template-columns: 1fr;
  }

  .mugen-lung-organs p,
  .mugen-lung-organs p:nth-child(2n),
  .mugen-lung-organs p:nth-last-child(-n + 2) {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid rgba(188, 232, 255, 0.12);
  }

  .mugen-lung-organs p:last-child {
    border-bottom: 0;
  }

  .foundry-funding {
    grid-template-columns: 1fr;
  }

  .foundry-funding-target {
    grid-row: auto;
    font-size: 32px;
    text-align: left;
  }

  .foundry-funding-principles {
    grid-column: auto;
    line-height: 1.5;
  }

  .foundry-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .mugen-origin-copy h2 {
    max-width: 430px;
    margin-top: 16px;
    font-size: 44px;
    line-height: 0.94;
  }

  .mugen-origin-copy > p:not(.eyebrow) {
    max-width: 400px;
    font-size: 16px;
  }

  .mugen-origin-branches {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .mugen-origin-branches a,
  .mugen-origin-branches a:nth-child(2),
  .mugen-origin-branches a:nth-child(-n + 2) {
    min-height: 76px;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 247, 251, 0.18);
  }

  .mugen-origin-branches a:last-child {
    border-bottom: 0;
  }

  .mugen-futures summary {
    min-height: 52px;
  }

  .mugen-futures-list > * {
    padding: 14px 0;
  }

  .mugen-lung-copy h2 {
    font-size: 48px;
    line-height: 0.92;
  }

  .mugen-lung-lead {
    font-size: 16px;
  }

  .mugen-lung-proof {
    grid-template-columns: 1fr;
  }

  .mugen-lung-proof p {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid rgba(188, 232, 255, 0.16);
  }

  .mugen-lung-proof p:last-child {
    border-bottom: 0;
  }

  .mugen-lung-organs {
    grid-template-columns: 1fr;
  }

  .mugen-lung-organs p,
  .mugen-lung-organs p:nth-child(2n),
  .mugen-lung-organs p:nth-last-child(-n + 2) {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid rgba(188, 232, 255, 0.12);
  }

  .mugen-lung-organs p:last-child {
    border-bottom: 0;
  }

  .mugen-lung-visual {
    min-height: 680px;
    padding: 92px 18px 58px;
  }

  .ark-visual-head {
    top: 28px;
    right: 18px;
    left: 18px;
  }

  .ark-shell {
    width: 100%;
    min-height: 300px;
    aspect-ratio: auto;
  }

  .ark-banks {
    right: 9%;
    left: 9%;
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(32px, 0.72fr) repeat(5, minmax(0, 1fr));
    gap: 3px;
  }

  .ark-shell-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .ark-shell-caption strong {
    font-size: 8px;
    text-align: left;
  }

  .ark-foundry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 18px;
  }

  .ark-foundry > i {
    display: none;
  }

  .ark-foundry p {
    min-height: 58px;
  }

  .ark-foundry p:last-of-type {
    grid-column: 1 / -1;
  }

  .ark-breath-meter {
    margin-top: 18px;
  }

  .ideaing-dialog-shell {
    grid-template-rows: 58px minmax(0, 1fr);
  }

  .ideaing-dialog-header {
    height: 58px;
    padding: 0 12px;
  }

  .ideaing-dialog-header img {
    width: 30px;
    height: 30px;
  }

  .ideaing-dialog-header small,
  .ideaing-dialog-tools a {
    display: none;
  }

  .ideaing-dialog-header strong {
    font-size: 13px;
  }

  .ideaing-dialog-tools button {
    width: 38px;
    height: 38px;
  }

  .scene-media img {
    height: 108%;
  }

  .signals-drawer {
    padding: 24px 20px;
  }

  .music-playlist-drawer {
    width: 100%;
    border-left: 0;
  }

  .music-playlist-close {
    top: 14px;
    left: 14px;
  }

  .music-shell {
    padding: 68px 16px 0;
  }

  .music-library-head {
    grid-template-columns: 64px minmax(0, 1fr) 38px;
    gap: 13px;
    padding: 4px 0 18px;
  }

  .music-library-head img {
    width: 64px;
    height: 64px;
  }

  .music-library-copy h2 {
    font-size: 34px;
  }

  .music-library-external {
    width: 38px;
    height: 38px;
  }

  .ideaing-preview {
    padding-top: 92px;
    padding-bottom: 72px;
  }

  .ideaing-grid {
    background-size: 44px 44px;
  }

  .ideaing-intro h2 {
    font-size: 36px;
    line-height: 0.98;
  }

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

  .ideaing-tabs button {
    min-height: 62px;
    gap: 11px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(244, 247, 251, 0.14);
  }

  .ideaing-tabs button:nth-child(2) {
    border-right: 0;
  }

  .ideaing-tabs button:nth-child(n + 3) {
    border-bottom: 0;
  }

  .ideaing-surface {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 18px 62px;
  }

  .ideaing-companion {
    width: 118px;
  }

  .ideaing-companion-core {
    width: 50px;
  }

  .ideaing-panels h3 {
    font-size: 32px;
  }

  .ideaing-panels article > p:not(.ideaing-window-label) {
    margin-top: 16px;
  }

  .ideaing-transform {
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
  }

  .ideaing-status {
    right: 18px;
    bottom: 16px;
    left: 18px;
  }

  .ideaing-trace li {
    min-height: 50px;
    padding: 0 8px;
    font-size: 9px;
  }

  .ideaing-trace li::after {
    left: 20px;
  }

  .ideaing-public-door {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 14px;
  }

  .ideaing-public-door span {
    display: none;
  }

  .ideaing-public-door strong {
    text-align: left;
  }

  .music-now-playing {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }

  .music-current-cover {
    width: 48px;
    height: 48px;
  }

  .music-controls {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .music-track {
    grid-template-columns: 24px 40px minmax(0, 1fr) auto;
    gap: 10px;
    padding-right: 2px;
    padding-left: 2px;
  }

  .music-track-cover {
    width: 40px;
    height: 40px;
  }

  .signal-item {
    grid-template-columns: 68px 1fr 20px;
  }

  .scene-hero .scene-media img {
    object-position: 50% center;
  }

  #aging .scene-media img {
    object-position: 58% center;
  }

  #asing .scene-media img {
    object-position: 45% center;
  }

  #agx .scene-media img {
    object-position: 62% center;
  }

  #cristallo .scene-media img {
    object-position: 58% center;
  }

  #laan .scene-media img {
    object-position: 51% center;
  }

  .scene-overlay-hero,
  .scene-overlay-left,
  .scene-overlay-right,
  .scene-overlay-team {
    background: linear-gradient(0deg, rgba(2, 4, 8, 0.92) 0%, rgba(2, 4, 8, 0.48) 48%, rgba(2, 4, 8, 0.08) 82%);
  }

  .scene-overlay-center {
    background: linear-gradient(0deg, rgba(2, 4, 8, 0.92) 0%, rgba(2, 4, 8, 0.32) 56%, rgba(2, 4, 8, 0.05) 82%);
  }

  .scene-copy,
  .scene-copy-center {
    width: calc(100% - (2 * var(--page-pad)));
    margin-bottom: 11vh;
    text-align: left;
  }

  .scene-copy-center .eyebrow {
    justify-content: flex-start;
  }

  .laan-lockup {
    margin-right: auto;
    margin-left: 0;
  }

  .laan-lockup img {
    width: 82px;
    height: 82px;
  }

  .laan-lockup b {
    font-size: 34px;
  }

  .team-copy {
    margin-bottom: 8vh;
  }

  .team-roster {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .team-member {
    padding: 9px 0 10px;
  }

  .team-links {
    gap: 18px;
    margin-top: 18px;
  }

  .scene h1,
  .scene h2,
  .quiet-end h2 {
    font-size: 44px;
    line-height: 0.96;
  }

  .scene-line {
    max-width: 320px;
    margin-top: 17px;
    font-size: 16px;
  }

  .scene-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 26px;
  }

  .action {
    width: 100%;
  }

  .action-quiet {
    border-color: rgba(244, 247, 251, 0.26);
  }

  .scene-count {
    right: var(--page-pad);
    bottom: 20px;
  }

  .quiet-end {
    min-height: 66svh;
    padding-top: 16vh;
  }

  .fork-experience {
    height: 250svh;
  }

  .fork-sticky {
    gap: 14px;
    padding: calc(var(--header-height) + 18px) 14px 18px;
  }

  .fork-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .fork-intro h2 {
    font-size: 38px;
    text-align: left;
  }

  .fork-grid,
  .fork-experience[data-choice="world"] .fork-grid,
  .fork-experience[data-choice="mugen"] .fork-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
  }

  .fork-panel {
    grid-template-rows: auto minmax(130px, 1fr) auto;
    padding: 13px;
  }

  .fork-experience[data-choice="world"] .fork-world,
  .fork-experience[data-choice="mugen"] .fork-mugen {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .fork-experience[data-choice="world"] .fork-mugen,
  .fork-experience[data-choice="mugen"] .fork-world {
    grid-row: 2;
    min-height: 146px;
  }

  .fork-experience[data-choice="world"] .fork-mugen .fork-visual,
  .fork-experience[data-choice="mugen"] .fork-world .fork-visual,
  .fork-experience[data-choice="world"] .fork-mugen .fork-copy,
  .fork-experience[data-choice="mugen"] .fork-world .fork-copy {
    display: none;
  }

  .fork-visual {
    min-height: 130px;
  }

  .world-sphere {
    width: clamp(142px, 42vw, 190px);
  }

  .world-orbit {
    width: clamp(180px, 54vw, 240px);
  }

  .pizza {
    width: clamp(155px, 46vw, 205px);
  }

  .pizza-shadow {
    width: clamp(170px, 52vw, 230px);
  }

  .fork-copy {
    min-height: 58px;
  }

  .fork-copy strong {
    font-size: 19px;
  }

  .fork-copy small {
    font-size: 11px;
  }

  .katoying-reveal {
    right: 18px;
    bottom: 11vh;
    left: 18px;
  }

  .katoying-reveal > div {
    font-size: 32px;
  }

  .fork-count {
    right: 18px;
    bottom: 16px;
  }

  .fouting-end {
    min-height: 100svh;
  }

  .fouting-rest {
    align-items: flex-start;
    flex-direction: column;
  }

  .fouting-rest p {
    text-align: left;
  }

  .trace-content {
    padding-top: 8vh;
  }

  .trace-content > h2 {
    font-size: 46px;
  }

  .trace-lead {
    font-size: 17px;
  }

  .trace-questions p {
    padding: 9px 0;
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scene-media img {
    transform: none;
  }
}

/* GX / PLAY: a static project surface replaces the former animated fork. */
.play-backwards {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(380px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border-top: 1px solid rgba(244, 247, 251, 0.12);
  border-bottom: 1px solid rgba(244, 247, 251, 0.12);
  background: #050608;
}

.play-backwards-media {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.play-backwards-media img {
  width: 100%;
  height: 100%;
  min-height: 100svh;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.86) contrast(1.04);
}

.play-backwards-media::after {
  position: absolute;
  inset: 0 0 0 42%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, #050608 0%, rgba(5, 6, 8, 0.82) 9%, transparent 42%);
}

.play-backwards-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: calc(var(--header-height) + 56px) clamp(34px, 6vw, 94px) 80px;
}

.play-backwards-copy h2 {
  max-width: 720px;
  margin: 24px 0;
  font-size: clamp(52px, 6.8vw, 104px);
  line-height: 0.9;
}

.play-backwards-lead {
  max-width: 650px;
  color: rgba(244, 247, 251, 0.72);
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.5;
}

.play-backwards-roles {
  display: grid;
  margin: 34px 0;
  border-top: 1px solid rgba(244, 247, 251, 0.15);
}

.play-backwards-roles p {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 247, 251, 0.15);
}

.play-backwards-roles span {
  color: #55c8ff;
  font-size: 11px;
  font-weight: 800;
}

.play-backwards-roles strong {
  color: #f4f7fb;
  font-size: 15px;
}

.play-backwards-count {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 20px;
  margin: 0;
  color: rgba(244, 247, 251, 0.48);
  font-size: 11px;
}

@media (max-width: 840px) {
  .play-backwards {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .play-backwards-media {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 4 / 3;
  }

  .play-backwards-media img {
    min-height: 0;
    object-position: 67% 78%;
  }

  .play-backwards-media::after {
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(0deg, #050608, transparent);
  }

  .play-backwards-copy {
    grid-column: 1;
    grid-row: 2;
    padding: 54px var(--page-pad) 82px;
  }

  .play-backwards-copy h2 {
    font-size: clamp(44px, 13vw, 70px);
  }
}

/* CRISTALLO FOUNDRY / physical delivery sequence */
.foundry-program-media {
  position: relative;
  display: block;
  min-height: 96svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-left: 1px solid rgba(188, 232, 255, 0.14);
  background: #071015;
}

.foundry-program-media picture {
  position: absolute;
  inset: 0;
}

.foundry-program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(0.82) contrast(1.05) brightness(0.88);
}

.foundry-program-media::before {
  z-index: 1;
  inset: 0;
  mask-image: none;
  background: linear-gradient(180deg, rgba(3, 7, 10, 0.06) 35%, rgba(3, 7, 10, 0.88) 100%);
}

.foundry-program-media::after {
  z-index: 1;
  inset: 0;
  border: 0;
  background: linear-gradient(90deg, rgba(3, 7, 10, 0.3), transparent 28%);
}

.foundry-program-media figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 4vw, 64px);
  bottom: 34px;
  left: clamp(28px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 22px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 247, 251, 0.32);
  color: #f4f7fb;
}

.foundry-program-media figcaption span,
.foundry-program-media figcaption small {
  color: rgba(244, 247, 251, 0.66);
  font-size: 10px;
  font-weight: 800;
}

.foundry-program-media figcaption strong {
  grid-column: 1;
  font-size: 15px;
}

.foundry-program-media figcaption small {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #f1b860;
}

.foundry-program {
  position: relative;
  padding: 120px var(--page-pad) 132px;
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 247, 251, 0.12);
  color: #f4f7fb;
  background:
    linear-gradient(rgba(121, 199, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 199, 255, 0.025) 1px, transparent 1px),
    #05080b;
  background-size: 48px 48px;
}

.foundry-program-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 42px 72px;
  align-items: end;
  max-width: 1540px;
  margin: 0 auto 64px;
}

.foundry-program-intro .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.foundry-program-intro h2 {
  max-width: 980px;
  margin: 0;
  color: #f4f7fb;
  font-size: 70px;
  line-height: 0.94;
}

.foundry-program-intro > p:last-child {
  max-width: 540px;
  margin: 0 0 4px;
  color: rgba(244, 247, 251, 0.67);
  font-size: 18px;
  line-height: 1.55;
}

.foundry-milestones {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  max-width: 1540px;
  margin: 0 auto;
  border-top: 1px solid rgba(244, 247, 251, 0.2);
  border-bottom: 1px solid rgba(244, 247, 251, 0.2);
}

.foundry-milestones article {
  min-width: 0;
  padding: 22px 20px 26px;
  border-left: 1px solid rgba(244, 247, 251, 0.14);
}

.foundry-milestones article:first-child {
  border-left: 0;
}

.foundry-milestones span {
  display: block;
  margin-bottom: 36px;
  color: #78d7ff;
  font-size: 11px;
  font-weight: 900;
}

.foundry-milestones strong {
  display: block;
  min-height: 34px;
  color: #f4f7fb;
  font-size: 12px;
  line-height: 1.35;
}

.foundry-milestones p {
  margin: 12px 0 0;
  color: rgba(244, 247, 251, 0.56);
  font-size: 12px;
  line-height: 1.55;
}

.foundry-clock-note {
  max-width: 1540px;
  margin: 14px auto 0;
  color: rgba(244, 247, 251, 0.42);
  font-size: 10px;
  font-weight: 800;
}

.compute-lung {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  max-width: 1540px;
  margin: 104px auto 0;
  overflow: hidden;
  border-top: 1px solid rgba(244, 247, 251, 0.18);
  border-bottom: 1px solid rgba(244, 247, 251, 0.18);
  background: rgba(7, 13, 17, 0.84);
}

.compute-lung-media {
  position: relative;
  min-width: 0;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid rgba(244, 247, 251, 0.14);
}

.compute-lung-media picture {
  position: absolute;
  inset: 0;
}

.compute-lung-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.05) brightness(0.84);
}

.compute-lung-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(2, 7, 10, 0.88));
}

.compute-lung-media figcaption {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 26px;
  left: 30px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 247, 251, 0.3);
  color: rgba(244, 247, 251, 0.68);
  font-size: 10px;
  font-weight: 800;
}

.compute-lung-media figcaption strong {
  color: #f4f7fb;
}

.compute-lung-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 58px clamp(34px, 4vw, 68px);
}

.compute-lung-copy h3 {
  margin: 22px 0 24px;
  color: #f4f7fb;
  font-size: 48px;
  line-height: 0.96;
}

.compute-lung-lead {
  max-width: 640px;
  margin: 0;
  color: rgba(244, 247, 251, 0.68);
  font-size: 16px;
  line-height: 1.6;
}

.compute-specs {
  margin: 34px 0 0;
  border-top: 1px solid rgba(244, 247, 251, 0.16);
}

.compute-specs > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 247, 251, 0.16);
}

.compute-specs dt {
  color: #78d7ff;
  font-size: 10px;
  font-weight: 900;
}

.compute-specs dd {
  display: grid;
  gap: 4px;
  margin: 0;
}

.compute-specs dd strong {
  color: #f4f7fb;
  font-size: 14px;
}

.compute-specs dd span {
  color: rgba(244, 247, 251, 0.5);
  font-size: 11px;
}

.compute-lung-note {
  margin: 24px 0 0;
  color: rgba(244, 247, 251, 0.38);
  font-size: 10px;
  line-height: 1.55;
}

.foundry-delivery-details {
  max-width: 1540px;
  margin: 72px auto 0;
  border-top: 1px solid rgba(244, 247, 251, 0.18);
  border-bottom: 1px solid rgba(244, 247, 251, 0.18);
}

.foundry-delivery-details summary {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  color: #f4f7fb;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.foundry-delivery-details summary::-webkit-details-marker {
  display: none;
}

.foundry-delivery-details summary span {
  color: #f1b860;
  transition: transform 180ms ease;
}

.foundry-delivery-details[open] summary span {
  transform: rotate(45deg);
}

.foundry-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(244, 247, 251, 0.14);
}

.foundry-delivery-grid section {
  padding: 32px 34px 38px 0;
}

.foundry-delivery-grid section + section {
  padding-right: 0;
  padding-left: 34px;
  border-left: 1px solid rgba(244, 247, 251, 0.14);
}

.foundry-delivery-grid h3 {
  margin: 0 0 18px;
  color: #78d7ff;
  font-size: 11px;
}

.foundry-delivery-grid p {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid rgba(244, 247, 251, 0.1);
}

.foundry-delivery-grid p span {
  color: rgba(244, 247, 251, 0.48);
  font-size: 10px;
  font-weight: 800;
}

.foundry-delivery-grid p strong {
  max-width: 62%;
  color: #f4f7fb;
  font-size: 12px;
  text-align: right;
}

.foundry-delivery-grid small {
  display: block;
  margin-top: 18px;
  color: rgba(244, 247, 251, 0.38);
  font-size: 10px;
}

@media (max-width: 1180px) {
  .foundry-program-intro {
    grid-template-columns: 1fr;
  }

  .foundry-program-intro h2,
  .foundry-program-intro > p:last-child {
    max-width: 900px;
  }

  .foundry-milestones {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .foundry-milestones article:nth-child(5) {
    border-left: 0;
  }

  .foundry-milestones article:nth-child(-n + 4) {
    border-bottom: 1px solid rgba(244, 247, 251, 0.14);
  }

  .compute-lung {
    grid-template-columns: 1fr;
  }

  .compute-lung-media {
    min-height: 560px;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 247, 251, 0.14);
  }
}

@media (max-width: 720px) {
  .foundry-program-media {
    min-height: 70svh;
    border-left: 0;
    border-top: 1px solid rgba(188, 232, 255, 0.14);
  }

  .foundry-program-media figcaption {
    grid-template-columns: 1fr;
  }

  .foundry-program-media figcaption small {
    grid-column: 1;
    grid-row: auto;
  }

  .foundry-program {
    padding-top: 78px;
    padding-bottom: 88px;
  }

  .foundry-program-intro {
    gap: 26px;
    margin-bottom: 42px;
  }

  .foundry-program-intro h2 {
    font-size: 46px;
  }

  .foundry-program-intro > p:last-child {
    font-size: 16px;
  }

  .foundry-milestones {
    grid-template-columns: 1fr;
  }

  .foundry-milestones article,
  .foundry-milestones article:nth-child(5) {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 6px 14px;
    padding: 17px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(244, 247, 251, 0.14);
  }

  .foundry-milestones article:last-child {
    border-bottom: 0;
  }

  .foundry-milestones span {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .foundry-milestones strong {
    min-height: 0;
  }

  .foundry-milestones p {
    margin: 3px 0 0;
  }

  .compute-lung {
    margin-top: 72px;
  }

  .compute-lung-media {
    min-height: 390px;
  }

  .compute-lung-media figcaption {
    right: 18px;
    left: 18px;
    flex-direction: column;
  }

  .compute-lung-copy {
    padding: 40px 22px 46px;
  }

  .compute-lung-copy h3 {
    font-size: 40px;
  }

  .compute-specs > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .foundry-delivery-grid {
    grid-template-columns: 1fr;
  }

  .foundry-delivery-grid section,
  .foundry-delivery-grid section + section {
    padding: 28px 0;
    border-left: 0;
  }

  .foundry-delivery-grid section + section {
    border-top: 1px solid rgba(244, 247, 251, 0.14);
  }

  .foundry-delivery-grid p {
    display: grid;
    gap: 6px;
  }

  .foundry-delivery-grid p strong {
    max-width: none;
    text-align: left;
  }
}

/* Keep the explanatory maps authoritative over the retired image layouts. */
.mugen-lung-visual.foundry-system-map {
  justify-content: flex-start;
  gap: 0;
  min-height: 96svh;
  margin: 0;
  padding: 42px clamp(28px, 3.4vw, 58px) 34px;
  background:
    linear-gradient(rgba(121, 199, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 199, 255, 0.04) 1px, transparent 1px),
    #061016;
  background-size: 38px 38px;
}

.mugen-lung-visual.foundry-system-map::before {
  display: none;
}

.mugen-lung-visual.foundry-system-map::after {
  inset: 20px;
  border: 1px solid rgba(155, 220, 255, 0.12);
}

.compute-lung-media.compute-control-map {
  display: flex;
  min-height: 650px;
  flex-direction: column;
  justify-content: center;
  padding: 46px 30px 34px;
  background:
    linear-gradient(rgba(121, 199, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 199, 255, 0.04) 1px, transparent 1px),
    #061016;
  background-size: 34px 34px;
}

.compute-lung-media.compute-control-map::after {
  display: none;
}

.compute-lung-media.compute-control-map figcaption {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  margin-top: auto;
  padding-top: 24px;
}

@media (max-width: 1180px) {
  .mugen-lung-visual.foundry-system-map {
    min-height: 760px;
  }

  .compute-lung-media.compute-control-map {
    min-height: 570px;
  }
}

@media (max-width: 720px) {
  .mugen-lung-visual.foundry-system-map {
    min-height: 0;
    padding: 34px 18px 30px;
    border-top: 1px solid rgba(155, 220, 255, 0.16);
    border-left: 0;
  }

  .mugen-lung-visual.foundry-system-map::after {
    inset: 10px;
  }

  .compute-lung-media.compute-control-map {
    min-height: 0;
    padding: 34px 18px 28px;
  }

  .compute-lung-media.compute-control-map figcaption {
    right: auto;
    left: auto;
    display: grid;
    gap: 5px;
    flex-direction: initial;
    margin-top: 28px;
  }
}

/* Partner constellation: many independent routes, no implied affiliation. */
.partner-constellation {
  --partner-cyan: #7de3ef;
  --partner-coral: #ff7c70;
  --partner-gold: #f1b860;
  --partner-green: #75dda9;
  --partner-blue: #77aef7;
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(540px, 1.22fr);
  gap: 72px;
  min-height: 100svh;
  align-items: center;
  padding: 112px var(--page-pad);
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 247, 251, 0.14);
  color: var(--paper);
  background:
    radial-gradient(circle at 68% 50%, rgba(125, 227, 239, 0.08), transparent 34%),
    linear-gradient(rgba(244, 247, 251, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 251, 0.025) 1px, transparent 1px),
    #05090d;
  background-size: auto, 52px 52px, 52px 52px, auto;
}

.partner-constellation::before {
  position: absolute;
  top: 0;
  right: var(--page-pad);
  left: var(--page-pad);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 227, 239, 0.56), transparent);
  content: "";
}

.partner-constellation-copy,
.partner-constellation-map,
.partner-route-ledger {
  position: relative;
  z-index: 1;
}

.partner-constellation-copy h2 {
  margin: 26px 0 30px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 72px;
  line-height: 0.94;
}

.partner-constellation-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(244, 247, 251, 0.7);
  font-size: 18px;
  line-height: 1.65;
}

.partner-constellation-boundary {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 36px 0 0;
  border-top: 1px solid rgba(244, 247, 251, 0.18);
  border-bottom: 1px solid rgba(244, 247, 251, 0.18);
}

.partner-constellation-boundary strong,
.partner-constellation-boundary span {
  flex: 1 1 150px;
  padding: 14px 12px;
  border-left: 1px solid rgba(244, 247, 251, 0.14);
  color: rgba(244, 247, 251, 0.58);
  font-size: 10px;
  text-align: center;
}

.partner-constellation-boundary strong {
  border-left: 0;
  color: var(--partner-cyan);
}

.partner-constellation-note {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(244, 247, 251, 0.46);
  font-size: 12px;
  line-height: 1.6;
}

.partner-constellation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 34px;
}

.partner-constellation-actions > a:not(.action) {
  padding: 10px 0;
  border-bottom: 1px solid rgba(125, 227, 239, 0.42);
  color: rgba(244, 247, 251, 0.76);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.partner-constellation-map {
  width: min(100%, 760px);
  aspect-ratio: 1;
  justify-self: center;
}

.partner-constellation-map::before,
.partner-constellation-map::after,
.partner-orbit {
  position: absolute;
  border: 1px solid rgba(125, 227, 239, 0.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.partner-constellation-map::before {
  inset: 6%;
}

.partner-constellation-map::after {
  inset: 19%;
  border-color: rgba(241, 184, 96, 0.18);
}

.partner-orbit-a {
  inset: 11% 2% 11% 2%;
  transform: rotate(19deg);
  border-color: rgba(119, 174, 247, 0.16);
}

.partner-orbit-b {
  inset: 2% 11% 2% 11%;
  transform: rotate(-23deg);
  border-color: rgba(255, 124, 112, 0.15);
}

.partner-core,
.partner-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 247, 251, 0.2);
  border-radius: 50%;
  background: #07131d;
  text-align: center;
}

.partner-core {
  top: 50%;
  left: 50%;
  width: 30%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-color: rgba(125, 227, 239, 0.62);
  box-shadow: 0 0 54px rgba(125, 227, 239, 0.12);
}

.partner-core img {
  width: 42%;
  height: auto;
  margin-bottom: 10px;
}

.partner-core strong,
.partner-node strong {
  color: var(--paper);
  font-family: var(--display);
  font-size: 13px;
}

.partner-core span,
.partner-node span,
.partner-node small {
  color: rgba(244, 247, 251, 0.48);
  font-size: 8px;
  font-weight: 900;
}

.partner-core span {
  margin-top: 5px;
  color: var(--partner-cyan);
}

.partner-node {
  width: 19%;
  aspect-ratio: 1;
  padding: 12px;
  box-shadow: 0 0 24px rgba(5, 9, 13, 0.92);
}

.partner-node span {
  margin-bottom: 6px;
}

.partner-node small {
  margin-top: 4px;
}

.partner-node-field {
  top: 0;
  left: 40.5%;
  border-color: rgba(125, 227, 239, 0.58);
}

.partner-node-intelligence {
  top: 25%;
  right: 0;
  border-color: rgba(119, 174, 247, 0.58);
}

.partner-node-ground {
  top: 25%;
  left: 0;
  border-color: rgba(117, 221, 169, 0.58);
}

.partner-node-matter {
  right: 12%;
  bottom: 4%;
  border-color: rgba(255, 124, 112, 0.58);
}

.partner-node-trace {
  bottom: 4%;
  left: 12%;
  border-color: rgba(241, 184, 96, 0.58);
}

.partner-route-ledger {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 12px;
  border-top: 1px solid rgba(244, 247, 251, 0.18);
  border-bottom: 1px solid rgba(244, 247, 251, 0.18);
}

.partner-route-ledger p {
  min-width: 0;
  margin: 0;
  padding: 22px 20px 26px;
  border-left: 1px solid rgba(244, 247, 251, 0.14);
}

.partner-route-ledger p:first-child {
  border-left: 0;
}

.partner-route-ledger span,
.partner-route-ledger strong {
  display: block;
}

.partner-route-ledger span {
  margin-bottom: 18px;
  color: var(--partner-cyan);
  font-size: 9px;
  font-weight: 900;
}

.partner-route-ledger p:nth-child(2) span { color: var(--partner-blue); }
.partner-route-ledger p:nth-child(3) span { color: var(--partner-green); }
.partner-route-ledger p:nth-child(4) span { color: var(--partner-coral); }
.partner-route-ledger p:nth-child(5) span { color: var(--partner-gold); }

.partner-route-ledger strong {
  color: rgba(244, 247, 251, 0.66);
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 1060px) {
  .partner-constellation {
    grid-template-columns: 1fr;
  }

  .partner-constellation-copy {
    max-width: 760px;
  }

  .partner-route-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-route-ledger p:nth-child(odd) {
    border-left: 0;
  }

  .partner-route-ledger p:nth-child(-n + 4) {
    border-bottom: 1px solid rgba(244, 247, 251, 0.14);
  }

  .partner-route-ledger p:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .partner-constellation {
    gap: 48px;
    min-height: 0;
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .partner-constellation-copy h2 {
    font-size: 48px;
  }

  .partner-constellation-lead {
    font-size: 16px;
  }

  .partner-constellation-map {
    width: 100%;
    margin-left: 0;
  }

  .partner-node {
    padding: 7px;
  }

  .partner-node strong {
    font-size: 9px;
  }

  .partner-node span,
  .partner-node small {
    font-size: 6px;
  }

  .partner-core strong {
    font-size: 11px;
  }

  .partner-route-ledger {
    grid-template-columns: 1fr;
  }

  .partner-route-ledger p,
  .partner-route-ledger p:nth-child(odd),
  .partner-route-ledger p:last-child {
    grid-column: auto;
    padding: 18px 0 20px;
    border-left: 0;
    border-bottom: 1px solid rgba(244, 247, 251, 0.14);
  }

  .partner-route-ledger p:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .partner-constellation.is-visible .partner-core {
    animation: partner-core-breathe 4.8s ease-in-out infinite;
  }

  .partner-constellation.is-visible .partner-node {
    animation: partner-node-pulse 5.4s ease-in-out infinite;
  }

  .partner-constellation.is-visible .partner-node:nth-of-type(4) { animation-delay: -1.1s; }
  .partner-constellation.is-visible .partner-node:nth-of-type(5) { animation-delay: -2.2s; }
  .partner-constellation.is-visible .partner-node:nth-of-type(6) { animation-delay: -3.3s; }
  .partner-constellation.is-visible .partner-node:nth-of-type(7) { animation-delay: -4.4s; }
}

@keyframes partner-core-breathe {
  0%, 100% { box-shadow: 0 0 42px rgba(125, 227, 239, 0.08); }
  50% { box-shadow: 0 0 72px rgba(125, 227, 239, 0.2); }
}

@keyframes partner-node-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}
