/* Centered interactive project sculpture. */
.hero.sci-fi-hero {
  position: relative;
  isolation: isolate;
  height: clamp(410px, 38vw, 510px);
  min-height: 0;
  padding: 0;
  margin-bottom: 28px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #eef0f5;
}
.nexus-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nexus-visual {
  position: absolute;
  inset: 0 0 26px;
  isolation: isolate;
  touch-action: pan-y;
}
.nexus-visual canvas, .nexus-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.nexus-fallback { stroke-width: .7; opacity: .55; }
.nexus-visual.canvas-ready .nexus-fallback { visibility: hidden; }
.nexus-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58%, 530px);
  height: 76%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(26px);
  z-index: -1;
  background: radial-gradient(ellipse at 28% 40%, #c5e3ff50, transparent 60%), radial-gradient(ellipse at 72% 37%, #dac7ef48, transparent 60%), radial-gradient(ellipse at 60% 76%, #f3d2c337, transparent 60%);
  transition: opacity .7s;
}
.nexus-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#b6c9e217 1px, transparent 1px), linear-gradient(90deg, #b6c9e217 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 48%, #0009, transparent 64%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 48%, #0009, transparent 64%);
}
.nexus-cross { position: absolute; color: #c3ccdb; font: 16px monospace; pointer-events: none; }
.cross-a { left: 17%; top: 22%; }
.cross-b { right: 17%; bottom: 23%; }
.orbit-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 15px 10px 10px;
  border: 1px solid #e8ecf3;
  border-radius: 19px;
  background: linear-gradient(135deg, #fffffff2, #ffffffb8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 7px 26px #3d57760a, inset 0 1px 0 #fff;
  z-index: 2;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.orbit-label:hover, .orbit-label:focus-visible {
  transform: translateY(-4px);
  border-color: #cdd9ec;
  box-shadow: 0 12px 30px #3d57761a;
}
.orbit-label > span:not(.orbit-icon):not(.orbit-arrow) { font-size: 12px; font-weight: 500; color: #536078; white-space: nowrap; }
.orbit-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(145deg, #f6faff, #e9f0fc); color: #759bcf; border: 1px solid #ffffff; }
.orbit-icon svg { width: 20px; height: 20px; stroke-width: 1.35; }
.orbit-arrow { color: #a2adbc; margin-left: 9px; font-size: 13px; }
.label-design { left: calc(50% - 310px); top: 28%; }
.label-work { left: calc(50% + 162px); top: 40%; }
.label-work .orbit-icon { color: #9b87c5; background: linear-gradient(145deg, #fcfaff, #efe9f9); }
.label-ai { left: calc(50% - 174px); bottom: 13%; }
.label-ai .orbit-icon { color: #c19995; background: linear-gradient(145deg, #fffafb, #f9eeec); }
.nexus-controls { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.nexus-controls > button { pointer-events: auto; display: grid; place-items: center; }
#nexus-pulse {
  position: absolute;
  top: 49%;
  left: 50%;
  width: 74px;
  height: 74px;
  padding: 16px;
  transform: translate(-50%, -50%);
  border: 1px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffffd4, #f2f5fc9c);
  box-shadow: 0 10px 40px #8795b019, inset 0 0 0 1px #d7dfef42, inset 0 2px 3px #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #8b99b6;
  transition: box-shadow .3s, color .3s, background .3s;
}
#nexus-pulse svg { width: 40px; height: 40px; stroke-width: 1.1; }
#nexus-pulse:hover:not(:disabled) { color: #657ac7; background: #fff; box-shadow: 0 0 40px #a2b5f033, inset 0 0 0 1px #c6d4f142; }
#nexus-pulse:disabled { cursor: default; }
#nexus-pause { position: absolute; right: 20px; bottom: 0; width: 44px; height: 44px; font-size: 12px; color: #93a0b4; border-radius: 50%; }
#nexus-pause:hover { background: #f6f8fc; color: #5e7395; }
.nexus-visual.is-pulsing .nexus-aura { opacity: .6; }
.nexus-scroll { position: absolute; bottom: 10px; left: calc(50% - 22px); display: grid; place-items: center; width: 44px; height: 44px; color: #a4b0c2; border-radius: 50%; z-index: 3; transition: color .2s, background .2s; }
.nexus-scroll svg { width: 18px; height: 18px; stroke-width: 1.2; }
.nexus-scroll:hover { color: #657b9f; background: #f6f8fc; }
.orbit-label:focus-visible, .nexus-controls button:focus-visible, .nexus-scroll:focus-visible { outline-offset: 4px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .orbit-label { gap: 8px; padding: 8px; min-height: 48px; border-radius: 15px; }
  .orbit-label > span:not(.orbit-icon):not(.orbit-arrow) { font-size: 11px; }
  .orbit-icon { width: 28px; height: 28px; }
  .orbit-arrow { margin-left: 2px; }
  .label-design { left: calc(50% - 277px); top: 24%; }
  .label-work { left: calc(50% + 125px); top: 40%; }
  .label-ai { left: calc(50% - 160px); bottom: 17%; }
  #nexus-pulse { width: 58px; height: 58px; padding: 10px; }
}
@media (max-width: 760px) {
  .hero.sci-fi-hero { height: auto; padding-bottom: 38px; margin-bottom: 22px; }
      .nexus-visual { position: relative; inset: auto; width: 100%; height: 330px; margin-top: 0; }
  .nexus-aura { width: 90%; height: 66%; }
  .nexus-grid { background-size: 32px 32px; mask-image: radial-gradient(ellipse at 50% 48%, #0009, transparent 50%); -webkit-mask-image: radial-gradient(ellipse at 50% 48%, #0009, transparent 50%); }
  .cross-a { display: none; }
  .cross-b { right: 7%; bottom: 23%; font-size: 12px; }
  .orbit-label { gap: 8px; min-height: 48px; padding: 7px 10px 7px 7px; border-radius: 15px; }
  .orbit-label > span:not(.orbit-icon):not(.orbit-arrow) { font-size: 11px; }
  .orbit-icon { width: 29px; height: 29px; border-radius: 9px; }
  .orbit-icon svg { width: 17px; height: 17px; }
  .orbit-arrow { font-size: 11px; margin-left: 2px; }
  .label-design { left: 5%; top: 19%; }
  .label-work { left: auto; right: 2%; top: 43%; }
  .label-ai { left: 15%; bottom: 12%; }
  #nexus-pulse { width: 58px; height: 58px; padding: 10px; }
  #nexus-pulse svg { width: 34px; height: 34px; }
  #nexus-pause { right: 0; bottom: 0; }
  .nexus-scroll { bottom: 8px; }
}
@media (max-width: 370px) {
  .nexus-visual { height: 300px; }
  .label-design { left: 2%; top: 16%; }
  .label-work { right: 0; top: 47%; }
  .label-ai { left: 8%; bottom: 11%; }
}
@media (prefers-reduced-motion: reduce) {
  .sci-fi-hero * { animation: none !important; transition: none !important; }
  #nexus-pause { display: none; }
}
@media (prefers-contrast: more) {
  .orbit-label { background: #fff; border-color: #94a2b8; }
  .orbit-label > span:not(.orbit-icon):not(.orbit-arrow) { color: #33425a; }
  #nexus-pause, .nexus-scroll { color: #526580; }
}
