/* The homepage's development diagram: etched in light, luminous in dark. */
.hero-art.hero-brand-art.hero-hud {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  aspect-ratio: auto;
  min-width: 0;
  border-radius: 22px;
  background:
    radial-gradient(
      ellipse at 50% 44%,
      color-mix(in srgb, var(--accent) 10%, transparent),
      transparent 62%
    ),
    linear-gradient(145deg, var(--bg), var(--surface));
  box-shadow:
    inset 0 0 0 5px color-mix(in srgb, var(--bg) 60%, transparent),
    0 22px 70px -48px color-mix(in srgb, var(--accent) 42%, transparent);
}
.hero-hud::before,
.hero-hud::after {
  display: none;
}
.hud-art-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  font: 400 8px/1.5 var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--muted);
}
.hud-art-header > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hud-art-header i {
  height: 5px;
  width: 5px;
  background: var(--accent);
  box-shadow: 0 0 9px color-mix(in srgb, var(--accent) 30%, transparent);
}
.hud-art-header > span:last-child {
  color: var(--accent);
  font-size: 13px;
}
.hud-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 460;
  isolation: isolate;
  background-image: radial-gradient(var(--line) 0.6px, transparent 0.8px);
  background-size: 15px 15px;
}
.hud-circuit {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  overflow: visible;
  stroke: var(--accent);
  stroke-width: 0.8;
}
.hud-guide-lines {
  opacity: 0.13;
  stroke-dasharray: 3 7;
}
.hud-traces {
  opacity: 0.3;
}
.hud-packets {
  stroke-width: 1.8;
  stroke-dasharray: 12 250;
  animation: hud-data-flow 8s linear infinite;
}
.hud-rotation {
  transform-origin: 260px 230px;
  animation: hud-ring-orbit 80s linear infinite;
}
.hud-rotation-outer {
  opacity: 0.5;
}
.hud-rotation-inner {
  opacity: 0.7;
  animation-direction: reverse;
  animation-duration: 65s;
}
.hud-core-disc {
  fill: color-mix(in srgb, var(--bg) 86%, transparent);
  stroke: color-mix(in srgb, var(--accent) 35%, transparent);
}
.hud-core-pulse {
  transform-origin: 260px 230px;
  opacity: 0;
  animation: hud-core-wave 6s ease-out infinite;
}
.hud-terminal-nodes {
  fill: var(--accent);
  stroke-width: 0;
}
.hero-hud .hero-emblem.hud-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 37%;
  aspect-ratio: 1;
  margin: 0;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.hero-hud .hud-core .brand-symbol {
  width: 75%;
  animation: none;
  filter: drop-shadow(
    0 7px 12px color-mix(in srgb, var(--accent) 15%, transparent)
  );
}
.hero-hud .hud-core-label,
.hero-hud .hud-core-caption {
  color: var(--muted);
  font: 400 7px/1.5 var(--font-mono);
  white-space: nowrap;
}
.hero-hud .hud-core-label {
  letter-spacing: 0.09em;
  font-size: 6px;
  color: var(--accent);
}
.hud-code {
  position: absolute;
  width: 31%;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 3px 12px 3px 12px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 7px 25px -18px
    color-mix(in srgb, var(--accent) 50%, transparent);
}
.hud-code::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 7px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  border-top-left-radius: 3px;
}
.hud-code > span {
  display: block;
  color: var(--muted);
  font: 400 6px/1.4 var(--font-mono);
  letter-spacing: 0.1em;
}
.hud-code code {
  display: block;
  margin-top: 7px;
  color: var(--accent);
  font: 400 clamp(9px, 0.85vw, 12px)/1.6 var(--font-mono);
  white-space: nowrap;
}
.hud-code small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.6;
}
.hud-code-interface {
  top: 12%;
  left: 5%;
}
.hud-code-application {
  top: 12%;
  right: 5%;
}
.hud-code-data {
  bottom: 12%;
  left: 5%;
}
.hud-code-delivery {
  bottom: 12%;
  right: 5%;
}
.hud-art-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 15px 15px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-raised);
  transition:
    border-color 200ms,
    background-color 200ms;
}
.hud-art-footer:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 4%, var(--surface-raised));
}
.hud-footer-kicker {
  display: block;
  color: var(--accent);
  font: 400 7px/1.5 var(--font-mono);
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}
.hud-art-footer strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--text);
}
.hud-explore-arrow {
  color: var(--accent);
  font-size: 22px;
}
.hero-hud[data-hud-running="false"] *,
:root[data-motion="paused"] .hero-hud * {
  animation-play-state: paused !important;
}
@keyframes hud-ring-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes hud-data-flow {
  to {
    stroke-dashoffset: -262;
  }
}
@keyframes hud-core-wave {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  20% {
    opacity: 0.25;
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .hud-art-header {
    padding: 18px 17px 15px;
    font-size: 7px;
  }
  .hud-code {
    padding: 9px;
    width: 34%;
  }
  .hud-code-interface,
  .hud-code-data {
    left: 3%;
  }
  .hud-code-application,
  .hud-code-delivery {
    right: 3%;
  }
  .hud-code small {
    display: none;
  }
  .hero-hud .hero-emblem.hud-core {
    gap: 10px;
  }
  .hero-hud .hud-core-label {
    font-size: 5px;
  }
  .hero-hud .hud-core-caption {
    font-size: 6px;
  }
}
@media (max-width: 700px) {
  .hero-art.hero-brand-art.hero-hud {
    border-radius: 17px;
  }
  .hud-art-header {
    padding: 17px;
    font-size: 7px;
  }
  .hud-code {
    padding: 9px 10px;
    width: 35%;
  }
  .hud-code-interface,
  .hud-code-data {
    left: 3%;
  }
  .hud-code-application,
  .hud-code-delivery {
    right: 3%;
  }
  .hud-code code {
    font-size: clamp(8px, 2.4vw, 12px);
  }
  .hud-code small {
    display: none;
  }
  .hero-hud .hero-emblem.hud-core {
    gap: 10px;
  }
  .hero-hud .hud-core-label {
    font-size: 5px;
  }
  .hero-hud .hud-core-caption {
    font-size: 6px;
  }
  .hud-art-footer {
    margin: 0 10px 10px;
    padding: 13px;
    gap: 10px;
  }
  .hud-art-footer strong {
    font-size: 9px;
  }
  .hud-footer-kicker {
    font-size: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-hud * {
    animation: none !important;
    transition: none !important;
  }
}
