/* =========================================================================
   ATCL COMMAND OS — v2 enhancements
   HUD layer · division consoles · section nav · reactor · intro · hub readout
   ========================================================================= */

/* ===================== HERO 4-SEGMENT ORBITAL ===================== */
.hero-orbit {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-orbit>* {
  grid-area: 1 / 1;
}

.ho-cross {
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), var(--hud) calc(50% - 0.5px), var(--hud) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(0deg, transparent calc(50% - 0.5px), var(--hud) calc(50% - 0.5px), var(--hud) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  -webkit-mask-image: radial-gradient(circle at center, #000 18%, transparent 70%);
  mask-image: radial-gradient(circle at center, #000 18%, transparent 70%);
}

.ho-ring {
  border-radius: 50%;
  border: 1px solid var(--hud);
}

.ho-ring1 {
  width: 36%;
  height: 36%;
  border-style: solid;
  animation: spin 26s linear infinite;
}

.ho-ring2 {
  width: 68%;
  height: 68%;
  border-style: dashed;
  animation: spin 40s linear infinite reverse;
}

.ho-ring3 {
  width: 100%;
  height: 100%;
  border-color: var(--hud);
  opacity: 0.6;
}

.ho-ring3::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.ho-sweep {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(var(--acc-rgb), 0.16) 26deg, transparent 52deg);
  -webkit-mask-image: radial-gradient(circle at center, transparent 17%, #000 18%, #000 99%, transparent 100%);
  mask-image: radial-gradient(circle at center, transparent 17%, #000 18%, #000 99%, transparent 100%);
  animation: spin 7s linear infinite;
}

.ho-core {
  width: 33%;
  height: 33%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  z-index: 4;
  background: radial-gradient(circle at 42% 36%, color-mix(in srgb, var(--acc) 28%, var(--surface2)), var(--bg1) 78%);
  border: 1px solid var(--hud-strong);
  box-shadow: 0 0 50px rgba(var(--acc-rgb), 0.30), inset 0 0 22px rgba(var(--acc-rgb), 0.14);
  animation: hoCore 4s var(--ease-io) infinite;
}

@keyframes hoCore {
  50% {
    box-shadow: 0 0 70px rgba(var(--acc-rgb), 0.45), inset 0 0 26px rgba(var(--acc-rgb), 0.2);
  }
}

.ho-core-mark {
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg);
}

.ho-core-sub {
  font-size: 7.5px;
  letter-spacing: 0.22em;
  color: var(--fg3);
}

.ho-seg {
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 78px;
}

.ho-top {
  transform: translateY(calc(-50% + 39px));
  align-self: start;
  justify-self: center;
}

.ho-bottom {
  transform: translateY(calc(50% - 39px));
  align-self: end;
  justify-self: center;
}

.ho-left {
  transform: translateX(calc(-50% + 39px));
  justify-self: start;
  align-self: center;
}

.ho-right {
  transform: translateX(calc(50% - 39px));
  justify-self: end;
  align-self: center;
}

.ho-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 16px var(--c), 0 0 0 4px color-mix(in srgb, var(--c) 16%, transparent);
  animation: hoDot 2.6s var(--ease-io) infinite;
}

.ho-seg.ho-right .ho-dot {
  animation-delay: .6s;
}

.ho-seg.ho-bottom .ho-dot {
  animation-delay: 1.2s;
}

.ho-seg.ho-left .ho-dot {
  animation-delay: 1.8s;
}

@keyframes hoDot {
  50% {
    transform: scale(1.35);
    box-shadow: 0 0 24px var(--c), 0 0 0 7px color-mix(in srgb, var(--c) 10%, transparent);
  }
}

.ho-l {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c);
  font-weight: 600;
}

.ho-code {
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--fg3);
}

.ho-orbiter {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
  z-index: 3;
}

.ho-orbiter.o1 {
  animation: hoOrbit1 9s linear infinite;
}

.ho-orbiter.o2 {
  width: 5px;
  height: 5px;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: hoOrbit2 14s linear infinite;
}

@keyframes hoOrbit1 {
  from {
    transform: rotate(0) translateX(34%) rotate(0);
  }

  to {
    transform: rotate(360deg) translateX(34%) rotate(-360deg);
  }
}

@keyframes hoOrbit2 {
  from {
    transform: rotate(180deg) translateX(50%) rotate(-180deg);
  }

  to {
    transform: rotate(540deg) translateX(50%) rotate(-540deg);
  }
}

@media (max-width: 760px) {
  .hero-orbit {
    max-width: 320px;
  }
}

/* ===================== INNER-PAGE ELEVATION ===================== */
/* animated eyebrow: pulsing lead dot */
.eyebrow {
  position: relative;
}

.eyebrow::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 9px var(--acc);
  margin-left: 2px;
  animation: blink 1.8s steps(2) infinite;
}

/* living card backgrounds (dot-matrix that fades from a corner) */
.mile,
.gcard,
.svc-card,
.out-card {
  position: relative;
  overflow: hidden;
}

.mile::after,
.gcard::after,
.svc-card::after,
.out-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(130% 120% at 100% 0%, #000, transparent 62%);
  mask-image: radial-gradient(130% 120% at 100% 0%, #000, transparent 62%);
}

.mile>*,
.gcard>*,
.svc-card>*,
.out-card>* {
  position: relative;
  z-index: 1;
}

/* sweeping light on the value/number cards */
.mile,
.out-card {
  --pa: var(--acc);
}

.mile .mile-v::after,
.out-card .out-v::after {
  content: '';
}

/* hover elevation */
.mile,
.gcard,
.svc-card,
.out-card {
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.mile:hover,
.gcard:hover,
.svc-card:hover,
.out-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--pa, var(--acc)) 45%, var(--hud));
  box-shadow: 0 18px 44px -22px color-mix(in srgb, var(--pa, var(--acc)) 60%, transparent);
}

/* live scanline that travels down a card on hover */
.svc-card::before,
.gcard::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--pa, var(--acc)), transparent);
  opacity: 0;
  transform: translateY(0);
}

.svc-card:hover::before,
.gcard:hover::before {
  animation: cardScan 1.2s var(--ease-io);
}

@keyframes cardScan {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  20% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translateY(180px);
  }
}

/* section header: animated index ticks beside titles */
.section-head {
  position: relative;
}

/* ===================== HERO ORBITAL — traveling spoke pulses + ring ticks ===================== */
.ho-ring1,
.ho-ring2 {
  background-image: repeating-conic-gradient(from 0deg, var(--hud) 0deg 1deg, transparent 1deg 15deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0, transparent calc(100% - 5px), #000 calc(100% - 5px));
  mask-image: radial-gradient(circle, transparent 0, transparent calc(100% - 5px), #000 calc(100% - 5px));
}

.ho-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}

.ho-pulse.p-top {
  background: var(--infra);
  box-shadow: 0 0 10px var(--infra);
  animation: hoPulseV 2.6s var(--ease-io) infinite;
}

.ho-pulse.p-bottom {
  background: var(--sw);
  box-shadow: 0 0 10px var(--sw);
  animation: hoPulseVb 2.6s var(--ease-io) infinite;
  animation-delay: 1.3s;
}

.ho-pulse.p-left {
  background: var(--cyber);
  box-shadow: 0 0 10px var(--cyber);
  animation: hoPulseH 2.6s var(--ease-io) infinite;
  animation-delay: 0.65s;
}

.ho-pulse.p-right {
  background: var(--ai);
  box-shadow: 0 0 10px var(--ai);
  animation: hoPulseHr 2.6s var(--ease-io) infinite;
  animation-delay: 1.95s;
}

@keyframes hoPulseV {
  0% {
    transform: translateY(15%);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateY(-46%);
    opacity: 0;
  }
}

@keyframes hoPulseVb {
  0% {
    transform: translateY(-15%);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateY(46%);
    opacity: 0;
  }
}

@keyframes hoPulseH {
  0% {
    transform: translateX(15%);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateX(-46%);
    opacity: 0;
  }
}

@keyframes hoPulseHr {
  0% {
    transform: translateX(-15%);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateX(46%);
    opacity: 0;
  }
}

/* ===================== ECOSYSTEM TILE — equalizer motif ===================== */
.eco-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
  flex: 0 0 auto;
}

.eco-eq i {
  width: 2px;
  border-radius: 1px;
  background: var(--acc);
  opacity: 0.8;
  height: 100%;
  transform-origin: bottom;
  animation: ecoEq 1.1s var(--ease-io) infinite alternate;
}

.eco-eq i:nth-child(2) {
  animation-delay: .18s;
}

.eco-eq i:nth-child(3) {
  animation-delay: .36s;
}

.eco-eq i:nth-child(4) {
  animation-delay: .54s;
}

@keyframes ecoEq {
  to {
    transform: scaleY(0.3);
    opacity: 0.35;
  }
}

/* ===================== PARTNERS SCREEN ===================== */
.eco-cta {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.partners-screen {
  min-height: calc(100vh - 68px);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 20px 22px;
  border-radius: 12px;
  border: 1px solid var(--hud);
  background: linear-gradient(180deg, var(--surface), var(--surface2));
  color: var(--fg2);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--acc);
  box-shadow: var(--glow);
}

.pcard-plate {
  display: grid;
  place-items: center;
  width: 100%;
  height: 56px;
}

/* mono white at rest → full brand colour on hover for recognition */
.pcard-logo {
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.pcard:hover .pcard-logo {
  filter: none;
  opacity: 1;
}

.pcard-name {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--fg2);
  text-align: center;
  transition: color var(--dur) var(--ease);
}

.pcard:hover .pcard-name {
  color: var(--fg);
}

.pcard-go {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.pcard:hover .pcard-go {
  opacity: 1;
  transform: none;
}

.pcard-go .arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}

.pcard:hover .pcard-go .arrow {
  transform: translate(2px, -2px);
}

.partner-empty {
  margin-top: 30px;
  padding: 40px;
  text-align: center;
  color: var(--fg3);
  border: 1px dashed var(--hud-strong);
  border-radius: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

/* touch devices: keep the visit affordance visible (no hover state) */
@media (hover: none) {
  .pcard-go { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .partner-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  .pcard {
    padding: 24px 14px 18px;
  }
}

/* CRITICAL: overlays that set display in their base rule must honor [hidden] */
.reactor[hidden],
.drawer[hidden] {
  display: none !important;
}

/* download profile affordances */
.contact-download {
  margin-top: 22px;
  align-self: flex-start;
}

.nav-profile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(212, 168, 67, 0.4);
  padding: 9px 14px;
  border-radius: 8px;
  transition: all var(--dur) var(--ease);
}

.nav-profile:hover {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 0 18px -4px rgba(212, 168, 67, 0.5);
}

@media (max-width: 760px) {
  .nav-profile {
    display: none;
  }
}

/* ===================== GLOBAL HUD ===================== */
.os-hud {
  position: fixed;
  inset: 0;
  z-index: 58;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

body.hud-on .os-hud {
  opacity: 1;
}

/* corner frame */
.os-frame .of {
  position: fixed;
  width: 26px;
  height: 26px;
  border: 1px solid var(--hud-strong);
  opacity: 0.5;
}

.os-frame .tl {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}

.os-frame .tr {
  top: 12px;
  right: 12px;
  border-left: 0;
  border-bottom: 0;
}

.os-frame .bl {
  bottom: 44px;
  left: 12px;
  border-right: 0;
  border-top: 0;
}

.os-frame .br {
  bottom: 44px;
  right: 12px;
  border-left: 0;
  border-top: 0;
}

/* right scan rail */
.os-scanrail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  height: 280px;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.osr-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--hud);
  background-image: repeating-linear-gradient(180deg, var(--hud-strong) 0 1px, transparent 1px 14px);
}

.osr-scan {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc);
  animation: osrScan 4.5s var(--ease-io) infinite;
}

@keyframes osrScan {

  0%,
  100% {
    top: 4%;
  }

  50% {
    top: 92%;
  }
}

.osr-label {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--fg3);
}

/* bottom status bar */
.os-statusbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  z-index: 59;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  background: color-mix(in srgb, var(--bg0) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--hud);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg3);
}

.osb-left,
.osb-right {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.osb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 9px var(--acc);
  animation: blink 1.6s steps(2) infinite;
}

.osb-sys {
  color: var(--fg2);
}

.osb-view {
  color: var(--acc);
}

.osb-sep {
  color: var(--hud-strong);
}

.osb-theme {
  color: var(--fg2);
}

.osb-clock {
  color: var(--acc);
  font-variant-numeric: tabular-nums;
}

.osb-ticker {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.osb-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  animation: osbTick 46s linear infinite;
}

.osb-ph {
  color: var(--fg3);
}

.osb-ph-sep {
  color: var(--acc);
  opacity: 0.6;
}

@keyframes osbTick {
  to {
    transform: translateX(-50%);
  }
}

body.hud-on #site {
  padding-bottom: 30px;
}

@media (max-width: 760px) {

  .os-scanrail,
  .os-frame {
    display: none;
  }

  .osb-ticker,
  .osb-right .osb-geo {
    display: none;
  }

  .os-statusbar {
    gap: 10px;
    font-size: 9px;
  }
}

/* ===================== SECTION DOT-NAV ===================== */
.os-sections {
  position: fixed;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 58;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

body.hud-on.view-home .os-sections {
  opacity: 1;
}

.oss-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  pointer-events: auto;
  background: none;
}

.oss-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--hud-strong);
  transition: all var(--dur) var(--ease);
  flex: 0 0 auto;
}

.oss-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg3);
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.oss-item:hover .oss-label {
  opacity: 1;
  transform: none;
}

.oss-item.is-active .oss-dot {
  background: var(--acc);
  border-color: var(--acc);
  box-shadow: 0 0 12px var(--acc);
  transform: scale(1.2);
}

.oss-item.is-active .oss-label {
  opacity: 1;
  transform: none;
  color: var(--acc);
}

@media (max-width: 1180px) {
  .os-sections {
    display: none;
  }
}

/* ===================== DIVISIONS LAUNCHER (floating square tile) ===================== */
/* Primary opt-in entry into the Division Hub. Theme-reactive via tokens; only
   visible on the Home view (mirrors the .os-sections gating). The four dots
   echo the constellation — infra · ai · sw · cyber. */
.div-fab {
  position: fixed;
  left: 28px;
  bottom: 50px;
  z-index: 90;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--hud-strong);
  background: var(--surface2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

body.view-home .div-fab {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.view-home .div-fab:hover,
body.view-home .div-fab:focus-visible {
  transform: translateY(-2px);
  border-color: var(--acc);
  box-shadow: var(--glow);
  outline: none;
}

/* expanding "sonar" ring — subtle attention pulse */
.div-fab::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--acc);
  opacity: 0;
  pointer-events: none;
  animation: dfab-pulse 3.4s var(--ease) infinite;
}

@keyframes dfab-pulse {
  0% { opacity: 0.5; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.32); }
}

.dfab-orbit {
  position: relative;
  width: 34px;
  height: 34px;
}

/* faint base ring + one bright rotating sweep dot (its ::after) */
.dfab-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(var(--acc-rgb), 0.28);
  animation: dfab-spin 11s linear infinite;
}

.dfab-ring::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--acc);
  box-shadow: 0 0 7px var(--acc);
}

@keyframes dfab-spin {
  to { transform: rotate(360deg); }
}

.dfab-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--acc);
  box-shadow: 0 0 9px var(--acc);
}

.dfab-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.dfab-infra { top: 0;    left: 50%; background: var(--infra); box-shadow: 0 0 6px var(--infra); }
.dfab-ai    { top: 50%;  left: 100%; background: var(--ai);    box-shadow: 0 0 6px var(--ai); }
.dfab-sw    { top: 100%; left: 50%; background: var(--sw);    box-shadow: 0 0 6px var(--sw); }
.dfab-cyber { top: 50%;  left: 0;   background: var(--cyber); box-shadow: 0 0 6px var(--cyber); }

/* label tooltip — slides out to the right of the tile on hover/focus */
.dfab-label {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid var(--hud);
  background: var(--surface2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.div-fab:hover .dfab-label,
.div-fab:focus-visible .dfab-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .div-fab {
    left: 18px;
    bottom: 30px;
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }
  .dfab-orbit { width: 30px; height: 30px; }

  /* On phones the FAB would sit on top of the hero's "EXPLORE DIVISIONS" button,
     so hide it within the first fold and reveal it once the user scrolls past. */
  body.view-home:not(.past-fold) .div-fab {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.96);
  }
}

/* ===================== DIVISION CONSOLE (telemetry HUD) ===================== */
.dv-hero-inner {
  position: relative;
}

.dv-console {
  position: absolute;
  top: 8px;
  right: 0;
  width: 300px;
}

@media (min-width: 1081px) {
  .dv-hero-inner {
    padding-right: 348px;
  }
}

.dv-console-panel {
  background: linear-gradient(180deg, var(--surface), var(--surface2));
  border: 1px solid color-mix(in srgb, var(--pa) 26%, var(--hud));
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.dv-console-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--pa) 14%, transparent), transparent 60%);
}

.dvc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
}

.dvc-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pa);
}

.dvc-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--fg3);
}

.dvc-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pa);
  box-shadow: 0 0 8px var(--pa);
  animation: blink 1.4s steps(2) infinite;
}

.dvc-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.dvc-row:first-of-type {
  border-top: 0;
}

.dvc-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.dvc-k {
  font-size: 11px;
  color: var(--fg2);
}

.dvc-v {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--pa);
  font-variant-numeric: tabular-nums;
}

.dvc-bar {
  height: 4px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--pa) 14%, transparent);
  overflow: hidden;
}

.dvc-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--pa) 50%, transparent), var(--pa));
  width: 0;
  transition: width 1.4s var(--ease);
  box-shadow: 0 0 10px var(--pa);
}

.dvc-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--fg3);
}

.dvc-spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
  margin-left: auto;
}

.dvc-spark i {
  width: 3px;
  background: var(--pa);
  border-radius: 1px;
  opacity: 0.7;
  animation: spark 1.4s var(--ease-io) infinite alternate;
}

@keyframes spark {
  to {
    transform: scaleY(0.35);
    opacity: 0.35;
  }
}

@media (max-width: 1080px) {
  .dv-console {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin-top: 36px;
  }
}

/* division-specific ambient backdrop in hero */
.dv-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
}

.dv-hero-inner,
.dv-rail {
  position: relative;
  z-index: 2;
}

/* infra: vertical rack columns */
.amb-infra::before,
.amb-infra::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--pa) 40%, transparent) 0 2px, transparent 2px 12px);
  animation: ambDrop 6s linear infinite;
}

.amb-infra::before {
  right: 22%;
}

.amb-infra::after {
  right: 38%;
  animation-duration: 8s;
}

@keyframes ambDrop {
  from {
    background-position-y: 0;
  }

  to {
    background-position-y: 120px;
  }
}

/* ai: drifting nodes via radial dots */
.amb-ai {
  background-image: radial-gradient(circle, color-mix(in srgb, var(--pa) 36%, transparent) 1.4px, transparent 1.6px);
  background-size: 46px 46px;
  animation: ambDrift 20s linear infinite;
}

@keyframes ambDrift {
  to {
    background-position: 60px 30px;
  }
}

/* sw: code rain columns (text via repeating gradient ticks) */
.amb-sw::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 60px, color-mix(in srgb, var(--pa) 26%, transparent) 60px 61px);
}

.amb-sw::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 14px, color-mix(in srgb, var(--pa) 18%, transparent) 14px 16px);
  animation: ambDrop 4s linear infinite;
}

/* cyber: hex grid */
.amb-cyber {
  background-image: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--pa) 22%, transparent) 0 1px, transparent 1px);
  background-size: 30px 52px;
  opacity: 0.4;
}

/* ===================== INTRO ENHANCEMENTS ===================== */
.intro-radar {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

#intro.s-grid .intro-radar {
  opacity: 0.35;
  transition: opacity 1s var(--ease);
}

.intro-radar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--hud);
  box-shadow: inset 0 0 0 60px transparent, inset 0 0 0 1px var(--hud);
}

.intro-radar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, color-mix(in srgb, var(--acc) 30%, transparent) 40deg, transparent 60deg);
  animation: radarSweep 3.4s linear infinite;
}

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

.intro-ringset {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  z-index: 1;
  opacity: 0;
}

#intro.s-grid .intro-ringset {
  opacity: 0.4;
  transition: opacity 1s var(--ease) 0.3s;
}

.intro-ringset i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--hud);
}

.intro-ringset i:nth-child(2) {
  inset: 40px;
  border-style: solid;
  animation: spin 22s linear infinite reverse;
}

.intro-ringset i:nth-child(3) {
  inset: 90px;
}

/* ===================== REACTOR ENHANCEMENTS ===================== */
.reactor-core {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}

.reactor-core .rc-orb {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, var(--acc) 60%, transparent);
  box-shadow: 0 0 30px var(--acc);
}

.reactor-core .rc-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--hud-strong);
  animation: spin 9s linear infinite;
}

.reactor-core .rc-ring:nth-child(2) {
  inset: 10px;
  border-style: dashed;
  animation-duration: 6s;
  animation-direction: reverse;
}

.reactor-head-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.recal-burst {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  z-index: 116;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  border: 2px solid var(--acc);
}

.recal-burst.go {
  animation: burst 1s var(--ease) forwards;
}

@keyframes burst {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(220);
    opacity: 0;
  }
}

/* ===================== HUB READOUT ===================== */
.hub-readout {
  position: absolute;
  left: 50%;
  bottom: clamp(74px, 13vh, 120px);
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 26px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.hub.has-hover .hub-readout,
#hub.has-hover .hub-readout {
  opacity: 1;
}

.hro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hro-v {
  font-family: var(--font-mono);
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--ro-c, var(--acc));
}

.hro-k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg3);
}

@media (max-width: 760px) {
  .hub-readout {
    display: none;
  }
}

/* ============================================================
   MOBILE POLISH (enhance) — additive, phones only.
   ============================================================ */
@media (max-width: 480px) {
  .hero-orbit { max-width: 260px; }
  .partner-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
  .pcard { padding: 22px 12px 16px; gap: 11px; }
  .pcard-plate { height: 50px; }
  .eco-cta { margin-top: 20px; }
}

/* ===================== ATCL AI ASSISTANT ===================== */
/* Site-wide floating console. Theme-reactive via tokens; matches the
   Command-OS language (corner brackets, mono, accent glow, glass). */
.ai-fab {
  position: fixed;
  right: 24px;
  bottom: 46px;
  z-index: 90;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--hud-strong);
  background: var(--surface2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.4s var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.ai-fab:hover,
.ai-fab.is-open {
  transform: translateY(-2px);
  border-color: var(--acc);
  box-shadow: var(--glow);
}

.ai-fab::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--acc);
  opacity: 0;
  pointer-events: none;
  animation: ai-pulse 3.4s var(--ease) infinite;
}

@keyframes ai-pulse {
  0% { opacity: 0.5; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.3); }
}

.ai-fab-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.ai-fab-wave i {
  width: 3px;
  height: 40%;
  border-radius: 2px;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
  transform-origin: bottom;
  animation: ai-wave 1.1s var(--ease-io) infinite alternate;
}

.ai-fab-wave i:nth-child(2) { height: 100%; animation-delay: 0.15s; }
.ai-fab-wave i:nth-child(3) { height: 70%; animation-delay: 0.3s; }
.ai-fab-wave i:nth-child(4) { height: 45%; animation-delay: 0.45s; }

@keyframes ai-wave { to { transform: scaleY(0.4); opacity: 0.6; } }

.ai-fab-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid var(--hud);
  background: var(--surface2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.ai-fab:hover .ai-fab-label { opacity: 1; transform: translateY(-50%) translateX(0); }

.ai-panel {
  position: fixed;
  inset: 0;
  z-index: 121;
  pointer-events: none;
}

.ai-scrim {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 10, 0.42);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}

.ai-panel.open { pointer-events: auto; }
.ai-panel.open .ai-scrim { opacity: 1; }

.ai-console {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(390px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 44px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--hud-strong);
  background: linear-gradient(180deg, var(--surface2), color-mix(in srgb, var(--bg1) 92%, transparent));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.7), var(--glow);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.34s var(--ease), opacity 0.34s var(--ease);
}

.ai-panel.open .ai-console { transform: none; opacity: 1; }

.ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--hud);
}

.ai-head-id { display: flex; align-items: center; gap: 12px; }

.ai-orb {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--acc-rgb), 0.4);
}

.ai-orb i {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--acc-rgb), 0.4);
  animation: ai-ring 2.6s var(--ease) infinite;
}

.ai-orb i:nth-child(1) { inset: 6px; }
.ai-orb i:nth-child(2) { inset: 3px; animation-delay: 0.3s; opacity: 0.6; }
.ai-orb i:nth-child(3) { inset: 0; animation-delay: 0.6s; opacity: 0.35; }

.ai-orb::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
  transform: scale(var(--amp, 1));       /* --amp driven by mic amplitude while listening */
  transition: transform 0.08s linear;
}

@keyframes ai-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 1; }
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--fg3);
}

.ai-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
  animation: ai-blink 1.6s ease infinite;
}

@keyframes ai-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.ai-close {
  flex: 0 0 auto;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--fg3);
  border: 1px solid var(--hud);
  border-radius: 6px;
  padding: 6px 9px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.ai-close:hover { color: var(--fg); border-color: var(--acc); }

.ai-log {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  scrollbar-width: thin;
}

.ai-log::-webkit-scrollbar { width: 5px; }
.ai-log::-webkit-scrollbar-thumb { background: rgba(var(--acc-rgb), 0.25); border-radius: 99px; }

.ai-msg { display: flex; }
.ai-msg--user { justify-content: flex-end; }

.ai-bubble {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.ai-msg--assistant .ai-bubble {
  background: var(--surface);
  border: 1px solid var(--hud);
  color: var(--fg);
  border-top-left-radius: 4px;
}

.ai-msg--user .ai-bubble {
  background: linear-gradient(180deg, rgba(var(--acc-rgb), 0.22), rgba(var(--acc-rgb), 0.08));
  border: 1px solid rgba(var(--acc-rgb), 0.4);
  color: #fff;
  border-top-right-radius: 4px;
}

.ai-dots { display: inline-flex; gap: 4px; padding: 2px 0; }
.ai-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  opacity: 0.5;
  animation: ai-dot 1.2s var(--ease-io) infinite;
}
.ai-dots i:nth-child(2) { animation-delay: 0.2s; }
.ai-dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes ai-dot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

.ai-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--hud);
}

.ai-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--hud);
  background: var(--surface);
  color: var(--fg);
  font-size: 13.5px;
  font-family: var(--font-sans);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.ai-input:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(var(--acc-rgb), 0.12);
}

.ai-input::placeholder { color: var(--fg3); }

.ai-send {
  flex: 0 0 auto;
  width: 42px;
  border-radius: 10px;
  border: 1px solid rgba(var(--acc-rgb), 0.5);
  background: linear-gradient(180deg, rgba(var(--acc-rgb), 0.22), rgba(var(--acc-rgb), 0.08));
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.ai-send:hover { border-color: var(--acc); box-shadow: var(--glow); }
.ai-send .arrow { transition: transform var(--dur) var(--ease); }
.ai-send:hover .arrow { transform: translateX(3px); }

.ai-foot {
  padding: 8px 14px 12px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--fg3);
}

.ai-foot a { color: var(--acc); }

/* mic / push-to-talk */
.ai-mic {
  flex: 0 0 auto;
  width: 42px;
  border-radius: 10px;
  border: 1px solid var(--hud);
  background: var(--surface);
  color: var(--fg2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.ai-mic:hover { color: var(--fg); border-color: var(--acc); }

.ai-mic.is-recording {
  color: #fff;
  border-color: var(--acc);
  background: linear-gradient(180deg, rgba(var(--acc-rgb), 0.3), rgba(var(--acc-rgb), 0.12));
  animation: ai-rec 1.2s var(--ease) infinite;
}

@keyframes ai-rec {
  0%, 100% { box-shadow: 0 0 0 3px rgba(var(--acc-rgb), 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(var(--acc-rgb), 0.04); }
}

/* orb reacts to state (amplitude scale lives on the base .ai-orb::after) */
.ai-console.ai-listening .ai-orb i { animation-duration: 0.9s; }
.ai-console.ai-speaking .ai-orb::after { animation: ai-speak 0.55s var(--ease-io) infinite alternate; }
@keyframes ai-speak { to { transform: scale(1.55); } }

@media (max-width: 640px) {
  .ai-fab { right: 18px; bottom: 30px; width: 54px; height: 54px; border-radius: 14px; }
  .ai-console {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 84vh;
    border-radius: 16px 16px 0 0;
  }
}

/* ===================== ATCL AI — IMMERSIVE VOICE MODE ===================== */
.av-overlay {
  position: fixed;
  inset: 0;
  z-index: 124;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 100% at 50% 38%,
    color-mix(in srgb, var(--bg1) 86%, transparent),
    color-mix(in srgb, var(--bg0) 96%, transparent));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.av-overlay.open { opacity: 1; }
.av-overlay[hidden] { display: none; }

.av-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 44px clamp(24px, 6vw, 72px);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.4s var(--ease);
}

.av-overlay.open .av-stage { transform: none; }

.av-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--hud);
  background: var(--surface2);
  color: var(--fg2);
  font-size: 15px;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.av-close:hover { color: #fff; border-color: var(--acc); box-shadow: var(--glow); }

.av-brand { color: var(--acc); }

.av-orbit {
  position: relative;
  width: min(360px, 74vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.av-canvas { width: 100%; height: 100%; display: block; }

.av-state {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg);
  min-height: 15px;
}

.av-caption {
  max-width: 460px;
  min-height: 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg2);
}

.av-hint {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg3);
}

@media (max-width: 640px) {
  .av-orbit { width: 78vw; }
}