.escape-travel-brief {
  margin-top: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 5%, rgba(77, 197, 211, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.13), 0 24px 70px rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(28px) saturate(140%);
}

.escape-brief-heading,
.escape-guide-title,
.escape-signal,
.escape-map-link {
  display: flex;
  align-items: center;
}

.escape-brief-heading {
  justify-content: space-between;
  gap: 20px;
}

.escape-brief-heading p,
.escape-guide-title p {
  margin: 0;
  color: #4dc5d3;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.escape-brief-heading h3 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 560;
  letter-spacing: -0.04em;
}

.escape-signal {
  flex: none;
  gap: 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.escape-signal i {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #4dc5d3;
  box-shadow: 0 0 14px #4dc5d3;
}

.escape-signal.muted {
  color: rgba(255, 255, 255, 0.3);
}

.escape-brief-loading,
.escape-brief-error {
  min-height: 110px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  place-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  display: grid;
}

.escape-live-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.escape-live-grid > div {
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 17px;
  background: rgba(0, 0, 0, 0.16);
}

.escape-live-grid span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.escape-live-grid strong {
  align-self: end;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 540;
  line-height: 1.5;
}

.escape-live-grid [data-local-clock] {
  color: #4dc5d3;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 24px;
}

.escape-live-grid small {
  color: rgba(255, 255, 255, 0.3);
  font-size: 8px;
}

.escape-guide {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.escape-guide-title {
  display: block;
}

.escape-guide-title h4 {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 560;
}

.escape-guide ol {
  display: grid;
  gap: 0;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.escape-guide li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.escape-guide li > b {
  color: #4dc5d3;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 500;
}

.escape-guide li strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 560;
}

.escape-guide li p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 11px;
  line-height: 1.75;
}

.escape-map-link {
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(77, 197, 211, 0.42);
  border-radius: 14px;
  color: #eafcff;
  background: rgba(77, 197, 211, 0.1);
  font-size: 11px;
  text-decoration: none;
}

.escape-guide-note {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.27);
  font-size: 9px;
  line-height: 1.65;
}

@media (max-width: 780px) {
  .escape-travel-brief {
    padding: 20px;
    border-radius: 21px;
  }

  .escape-live-grid {
    grid-template-columns: 1fr;
  }

  .escape-brief-heading {
    align-items: flex-start;
  }

  .escape-signal {
    margin-top: 4px;
  }
}

/* Interactive 3D headquarters */
.company-building-mode {
  min-height: 100svh;
  padding: 118px clamp(18px, 4vw, 72px) 70px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(77, 197, 211, 0.1), transparent 28%),
    radial-gradient(circle at 18% 76%, rgba(77, 197, 211, 0.055), transparent 28%),
    #030506 !important;
}

.company-building-mode > .container > h2,
.company-building-mode > .container > p,
.company-building-mode > .section-heading,
.company-building-mode .department-grid {
  display: none !important;
}

.company-hq-experience {
  width: min(1680px, 100%);
  margin: 0 auto;
  color: #f5f7f7;
}

.company-hq-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  margin-bottom: 26px;
}

.company-hq-heading p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 17px;
  color: #4dc5d3;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.company-hq-heading p i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4dc5d3;
  box-shadow: 0 0 16px rgba(77, 197, 211, 0.9);
}

.company-hq-heading h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(42px, 5.8vw, 92px);
  font-weight: 610;
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.company-hq-status {
  min-width: 220px;
  padding: 18px 21px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(11, 20, 22, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.company-hq-status span,
.company-hq-status small {
  display: block;
  color: rgba(255, 255, 255, 0.34);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.17em;
}

.company-hq-status strong {
  display: block;
  margin: 10px 0 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 560;
}

.company-hq-scroll {
  position: relative;
  overflow: visible;
  perspective: 1600px;
}

.company-hq-scene {
  --hq-rotate-x: 0deg;
  --hq-rotate-y: 0deg;
  --hq-light-x: 50%;
  --hq-light-y: 45%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  transform: none;
  transform-style: preserve-3d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: clamp(24px, 3vw, 46px);
  background: #050809;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.1),
    0 50px 120px rgba(0, 0, 0, 0.52),
    0 0 90px rgba(77, 197, 211, 0.05);
  transition: transform 180ms ease-out;
  touch-action: none;
  user-select: none;
}

.company-hq-three {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(77, 197, 211, 0.12), transparent 36%),
    #020405;
}

.company-hq-webgl {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  outline: none;
  touch-action: none;
  transition: opacity 650ms ease;
}

.company-hq-loading {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 13%;
  display: grid;
  grid-template-columns: 7px 1fr;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border: 1px solid rgba(77, 197, 211, 0.3);
  border-radius: 999px;
  color: rgba(222, 252, 255, 0.76);
  background: rgba(3, 9, 10, 0.74);
  backdrop-filter: blur(18px);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}

.company-hq-loading small {
  grid-column: 2;
  color: rgba(77, 197, 211, 0.78);
  font-size: 7px;
}

.company-hq-loading i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4dc5d3;
  box-shadow: 0 0 12px rgba(77, 197, 211, 0.9);
  animation: hq-loading-pulse 1.2s ease-in-out infinite;
  position: relative;
}

.company-hq-loading i::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 11px;
  width: 3px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(#4dc5d3 var(--hq-progress, 0%), rgba(77, 197, 211, 0.12) var(--hq-progress, 0%));
}

.company-hq-three.is-ready .company-hq-webgl {
  opacity: 1;
}

.company-hq-three.is-ready .company-hq-loading {
  opacity: 0;
  transform: translate(-50%, 8px);
}

.company-hq-three.is-fallback .company-hq-loading {
  display: none;
}

.company-hq-three.is-fallback::before {
  content: "实时三维场景未能启动";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.52);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.company-hq-experience.is-3d-fallback .company-hq-deck {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  padding-bottom: 6px;
  overflow-x: auto;
}

.company-hq-focus {
  position: absolute;
  z-index: 5;
  left: 28px;
  bottom: 28px;
  width: min(360px, calc(100% - 56px));
  padding: 18px;
  border: 1px solid rgba(77, 197, 211, 0.48);
  border-radius: 20px;
  color: #efffff;
  background: rgba(3, 12, 14, 0.8);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(22px);
}

.company-hq-focus[hidden] { display: none; }
.company-hq-focus p { margin: 0 0 8px; color: #4dc5d3; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .17em; }
.company-hq-focus h3 { margin: 0; font-size: 23px; font-weight: 650; }
.company-hq-focus > span { display: block; margin: 9px 0 16px; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.6; }
.company-hq-focus div { display: flex; gap: 9px; }
.company-hq-focus button { min-height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: #eaffff; background: rgba(255,255,255,.05); font: 600 11px inherit; }
.company-hq-focus [data-hq-enter] { border-color: rgba(77,197,211,.72); color: #031012; background: #4dc5d3; }
.company-hq-focus button:focus-visible { outline: 2px solid #dffcff; outline-offset: 3px; }

@keyframes hq-loading-pulse {
  50% {
    opacity: 0.25;
    transform: scale(0.72);
  }
}

.company-hq-canvas {
  --hq-scale: 1;
  --hq-pan-x: 0px;
  --hq-pan-y: 0px;
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translate3d(var(--hq-pan-x), var(--hq-pan-y), 0) scale(var(--hq-scale));
  transform-origin: center;
  transition: transform 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.company-hq-scene.is-zoomed {
  cursor: grab;
}

.company-hq-scene.is-zoomed:active {
  cursor: grabbing;
}

.company-hq-scene.is-zoomed .company-hq-canvas {
  transition-duration: 70ms;
}

.company-hq-canvas > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.03) brightness(1.14);
  transform: scale(1.006);
  pointer-events: none;
}

.company-hq-shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--hq-light-x) var(--hq-light-y), rgba(77, 197, 211, 0.08), transparent 23%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 46%, rgba(0, 0, 0, 0.22));
  mix-blend-mode: screen;
}

.company-hq-hotspots {
  position: absolute;
  inset: 0;
}

.company-hq-zoom {
  position: absolute;
  z-index: 12;
  right: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: rgba(3, 9, 10, 0.78);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(140%);
}

.company-hq-zoom button,
.company-hq-zoom output {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}

.company-hq-zoom button {
  cursor: pointer;
}

.company-hq-zoom button:hover,
.company-hq-zoom button:focus-visible {
  outline: none;
  color: #031012;
  background: #4dc5d3;
  box-shadow: 0 0 22px rgba(77, 197, 211, 0.3);
}

.company-hq-zoom output {
  min-width: 51px;
  padding: 0 8px;
  color: #4dc5d3;
  font-size: 9px;
}

.company-hq-zoom .company-hq-reset {
  width: auto;
  padding: 0 12px;
  font-family: inherit;
  font-size: 10px;
}

.company-hq-zoom-tip {
  position: absolute;
  z-index: 11;
  left: 18px;
  bottom: 15px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(3, 9, 10, 0.66);
  backdrop-filter: blur(16px);
  font-size: 9px;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.company-room {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  padding: 0;
  border: 1px solid transparent;
  border-radius: 18px;
  color: #fff;
  cursor: pointer;
  background: transparent;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.company-room-motion {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0.86;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 180ms ease, filter 180ms ease;
}

.company-room:hover .company-room-motion,
.company-room:focus-visible .company-room-motion {
  opacity: 1;
  filter: brightness(1.25) saturate(1.2);
}

.company-room-motion i,
.company-room-motion b,
.company-room-motion em {
  position: absolute;
  display: block;
  margin: 0;
  font-style: normal;
}

/* 01 · map planning room */
.company-room-motion--escape i {
  left: 21%;
  top: 9%;
  width: 47%;
  height: 23%;
  border: 1px solid rgba(77, 197, 211, 0.24);
  border-radius: 3px;
  background:
    radial-gradient(circle at 18% 74%, #c9fbff 0 1px, transparent 2px),
    radial-gradient(circle at 48% 38%, #4dc5d3 0 1px, transparent 2px),
    radial-gradient(circle at 82% 22%, #c9fbff 0 1px, transparent 2px),
    linear-gradient(128deg, transparent 0 18%, rgba(77, 197, 211, 0.75) 19% 20%, transparent 21% 47%, rgba(77, 197, 211, 0.75) 48% 49%, transparent 50%);
  box-shadow: 0 0 12px rgba(77, 197, 211, 0.24);
  animation: hq-map-pulse 3.4s ease-in-out infinite;
}

.company-room-motion--escape b {
  left: 31%;
  top: 15%;
  width: 5px;
  height: 5px;
  border: 1px solid #bffaff;
  border-radius: 50%;
  box-shadow: 0 0 8px #4dc5d3;
  animation: hq-map-marker 5.2s ease-in-out infinite;
}

.company-room-motion--escape em {
  left: 22%;
  top: 9%;
  width: 2px;
  height: 23%;
  background: linear-gradient(transparent, #b9f9ff, transparent);
  box-shadow: 0 0 8px #4dc5d3;
  animation: hq-map-scan 4.5s linear infinite;
}

/* 02 · personality analysis */
.company-room-motion--mbti i {
  left: 18%;
  top: 7%;
  width: 64%;
  height: 28%;
  border-radius: 4px;
  background:
    radial-gradient(circle at 20% 30%, #b9faff 0 2px, transparent 3px),
    radial-gradient(circle at 50% 18%, #4dc5d3 0 2px, transparent 3px),
    radial-gradient(circle at 72% 46%, #b9faff 0 2px, transparent 3px),
    radial-gradient(circle at 35% 78%, #4dc5d3 0 2px, transparent 3px),
    linear-gradient(28deg, transparent 48%, rgba(77, 197, 211, 0.5) 49% 50%, transparent 51%);
  animation: hq-neural-glow 2.6s ease-in-out infinite alternate;
}

.company-room-motion--mbti b,
.company-room-motion--mbti em {
  left: 26%;
  top: 14%;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(190, 250, 255, 0.9);
  border-radius: 50%;
  animation: hq-node-travel 4s ease-in-out infinite;
}

.company-room-motion--mbti em {
  left: 68%;
  top: 23%;
  animation-delay: -2s;
}

/* 03 · live driving simulator */
.company-room-motion--drive i {
  left: 10%;
  top: 4%;
  width: 80%;
  height: 37%;
  overflow: hidden;
  border: 1px solid rgba(77, 197, 211, 0.28);
  border-radius: 5px 5px 11px 11px;
  background:
    linear-gradient(180deg, rgba(80, 155, 180, 0.22), rgba(4, 8, 9, 0.12) 48%, rgba(0, 0, 0, 0.72) 49%),
    linear-gradient(115deg, transparent 0 45%, rgba(77, 197, 211, 0.8) 46% 47%, transparent 48%),
    linear-gradient(65deg, transparent 0 45%, rgba(77, 197, 211, 0.8) 46% 47%, transparent 48%);
  box-shadow: inset 0 -6px 16px rgba(0, 0, 0, 0.45), 0 0 18px rgba(77, 197, 211, 0.2);
  animation: hq-drive-screen 5s ease-in-out infinite;
}

.company-room-motion--drive b {
  left: 47%;
  top: 21%;
  width: 6%;
  height: 20%;
  transform: perspective(40px) rotateX(56deg);
  transform-origin: bottom;
  background: repeating-linear-gradient(180deg, #d9fdff 0 5px, transparent 5px 12px);
  filter: drop-shadow(0 0 4px #4dc5d3);
  animation: hq-road-forward 0.8s linear infinite;
}

.company-room-motion--drive em {
  left: 20%;
  top: 13%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4dc5d3, transparent);
  box-shadow: 0 8px 8px rgba(77, 197, 211, 0.55);
  animation: hq-drive-horizon 3.2s ease-in-out infinite alternate;
}

/* 04 · life laboratory */
.company-room-motion--lab i {
  left: 22%;
  top: 18%;
  width: 8px;
  height: 8px;
  border: 1px solid #bffbff;
  border-radius: 50%;
  box-shadow:
    22px 8px 0 -2px rgba(77, 197, 211, 0.9),
    51px -6px 0 -1px rgba(202, 253, 255, 0.75),
    78px 14px 0 -2px rgba(77, 197, 211, 0.8),
    101px -8px 0 -2px rgba(202, 253, 255, 0.75);
  animation: hq-lab-bubbles 3.8s ease-in-out infinite;
}

.company-room-motion--lab b {
  left: 20%;
  top: 7%;
  width: 64%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(174, 248, 255, 0.9), transparent);
  box-shadow: 0 0 9px #4dc5d3;
  animation: hq-lab-scan 4.2s ease-in-out infinite;
}

.company-room-motion--lab em {
  left: 45%;
  top: 26%;
  width: 12%;
  height: 12%;
  border: 1px solid rgba(77, 197, 211, 0.6);
  border-radius: 50% 50% 45% 55%;
  background: radial-gradient(circle at 35% 35%, #d3fdff, #4dc5d3 22%, transparent 25%);
  animation: hq-specimen 5.5s linear infinite;
}

/* 05 · parallel archive */
.company-room-motion--parallel i {
  left: 18%;
  top: 7%;
  width: 66%;
  height: 28%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 68%, #bffaff 0 1px, transparent 2px),
    radial-gradient(circle at 35% 25%, #4dc5d3 0 1px, transparent 2px),
    radial-gradient(circle at 65% 45%, #bffaff 0 1px, transparent 2px),
    radial-gradient(circle at 84% 19%, #4dc5d3 0 1px, transparent 2px);
  border: 1px solid rgba(77, 197, 211, 0.15);
  animation: hq-parallel-orbit 10s linear infinite;
}

.company-room-motion--parallel b,
.company-room-motion--parallel em {
  left: 31%;
  top: 14%;
  width: 42%;
  height: 16%;
  border: 1px solid rgba(77, 197, 211, 0.42);
  border-radius: 50%;
  animation: hq-parallel-ring 6s linear infinite;
}

.company-room-motion--parallel em {
  transform: rotate(64deg);
  animation-direction: reverse;
  animation-duration: 8s;
}

/* 06 · daily mission control */
.company-room-motion--daily i {
  left: 27%;
  top: 8%;
  width: 48%;
  height: 24%;
  border: 1px solid rgba(77, 197, 211, 0.25);
  border-radius: 3px;
  background:
    repeating-linear-gradient(180deg, rgba(77, 197, 211, 0.8) 0 2px, transparent 2px 8px) 12% 20% / 56% 58% no-repeat,
    linear-gradient(90deg, rgba(77, 197, 211, 0.22), transparent);
  animation: hq-task-board 3.6s steps(4, end) infinite;
}

.company-room-motion--daily b {
  left: 31%;
  top: 12%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d6fdff;
  box-shadow: 0 0 8px #4dc5d3, 22px 10px 0 #4dc5d3, 45px 0 0 #d6fdff;
  animation: hq-status-blink 1.8s steps(2, end) infinite;
}

.company-room-motion--daily em {
  left: 27%;
  top: 8%;
  width: 48%;
  height: 2px;
  background: #bdfaff;
  box-shadow: 0 0 8px #4dc5d3;
  animation: hq-board-scan 4s linear infinite;
}

/* 07 · borrowed identity studio */
.company-room-motion--stranger i {
  left: 16%;
  top: 13%;
  width: 68%;
  height: 20%;
  background:
    linear-gradient(90deg,
      transparent 0 4%, #4dc5d3 4% 7%, transparent 7% 12%,
      #bffaff 12% 15%, transparent 15% 22%, #4dc5d3 22% 25%,
      transparent 25% 34%, #bffaff 34% 37%, transparent 37% 46%,
      #4dc5d3 46% 49%, transparent 49% 57%, #bffaff 57% 60%,
      transparent 60% 71%, #4dc5d3 71% 74%, transparent 74% 100%);
  transform-origin: center;
  animation: hq-waveform 1.35s ease-in-out infinite alternate;
}

.company-room-motion--stranger b,
.company-room-motion--stranger em {
  left: 38%;
  top: 9%;
  width: 24%;
  aspect-ratio: 1;
  border: 1px solid rgba(77, 197, 211, 0.35);
  border-radius: 50%;
  animation: hq-voice-ring 3.2s ease-out infinite;
}

.company-room-motion--stranger em {
  animation-delay: -1.6s;
}

/* 08 · rotating earth observation */
.company-room-motion--earth i {
  left: 30%;
  top: 15%;
  width: 40%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(210, 253, 255, 0.82);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 31%, rgba(255, 255, 255, 0.9), transparent 8%),
    repeating-linear-gradient(90deg, transparent 0 12%, rgba(178, 250, 255, 0.32) 13% 15%, transparent 16% 29%),
    radial-gradient(circle at 38% 53%, #4dc5d3 0 11%, transparent 12%),
    radial-gradient(circle at 69% 37%, rgba(125, 231, 240, 0.95) 0 9%, transparent 10%),
    radial-gradient(circle at 59% 72%, rgba(77, 197, 211, 0.8) 0 7%, transparent 8%),
    radial-gradient(circle at 38% 35%, #1a5962, #061215 68%);
  box-shadow:
    inset -10px -6px 14px rgba(0, 0, 0, 0.7),
    inset 5px 4px 12px rgba(215, 253, 255, 0.28),
    0 0 15px rgba(77, 197, 211, 0.55);
  animation: hq-earth-turn 8s linear infinite;
}

.company-room-motion--earth b {
  left: 21%;
  top: 6%;
  width: 58%;
  height: 48%;
  border: 1px solid rgba(77, 197, 211, 0.25);
  border-radius: 50%;
  transform: rotate(-17deg);
  animation: hq-earth-orbit 6s linear infinite;
}

.company-room-motion--earth em {
  left: 47%;
  top: 7%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e4feff;
  box-shadow: 0 0 8px #4dc5d3;
  animation: hq-satellite 6s linear infinite;
}

/* 09 · time and weather radar */
.company-room-motion--weather i {
  left: 31%;
  top: 14%;
  width: 38%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(77, 197, 211, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 27%, rgba(77, 197, 211, 0.28) 28% 29%, transparent 30% 57%, rgba(77, 197, 211, 0.23) 58% 59%, transparent 60%),
    linear-gradient(90deg, transparent 49%, rgba(77, 197, 211, 0.34) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(77, 197, 211, 0.34) 50%, transparent 51%);
  box-shadow: 0 0 14px rgba(77, 197, 211, 0.28);
}

.company-room-motion--weather b {
  left: 31%;
  top: 14%;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(77, 197, 211, 0.62), rgba(77, 197, 211, 0.04) 22%, transparent 24% 100%);
  transform-origin: center;
  animation: hq-radar-sweep 3s linear infinite;
}

.company-room-motion--weather em {
  left: 42%;
  top: 23%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d9fdff;
  box-shadow: 0 0 7px #4dc5d3, 18px 21px 0 #4dc5d3, 28px 5px 0 rgba(215, 253, 255, 0.8);
  animation: hq-weather-points 2s steps(2, end) infinite;
}

/* 10 · archive scanning */
.company-room-motion--archive i {
  left: 5%;
  top: 5%;
  width: 90%;
  height: 60%;
  background:
    repeating-linear-gradient(90deg, transparent 0 11%, rgba(77, 197, 211, 0.12) 12% 13%, transparent 14% 24%),
    repeating-linear-gradient(180deg, transparent 0 15%, rgba(77, 197, 211, 0.1) 16% 17%, transparent 18% 32%);
  animation: hq-archive-lights 4.4s steps(4, end) infinite;
}

.company-room-motion--archive b {
  left: 7%;
  top: 8%;
  width: 2px;
  height: 56%;
  background: linear-gradient(transparent, #d8fdff, transparent);
  box-shadow: 0 0 10px #4dc5d3;
  animation: hq-archive-scan 5s ease-in-out infinite;
}

.company-room-motion--archive em {
  right: 12%;
  top: 20%;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #4dc5d3;
  box-shadow: 0 0 9px rgba(77, 197, 211, 0.8);
  animation: hq-archive-access 2.4s steps(2, end) infinite;
}

@keyframes hq-map-pulse { 50% { opacity: 0.52; filter: brightness(1.5); } }
@keyframes hq-map-marker { 50% { transform: translate(62px, 8px) scale(1.35); } }
@keyframes hq-map-scan { 50% { transform: translateX(115px); } }
@keyframes hq-neural-glow { to { filter: brightness(1.7); transform: scale(1.025); } }
@keyframes hq-node-travel { 50% { transform: translate(28px, 12px) scale(1.4); opacity: 0.45; } }
@keyframes hq-drive-screen { 50% { filter: brightness(1.28); } }
@keyframes hq-road-forward { to { background-position-y: 12px; } }
@keyframes hq-drive-horizon { to { transform: translateY(4px); opacity: 0.5; } }
@keyframes hq-lab-bubbles { 50% { transform: translateY(-13px) scale(1.12); opacity: 0.45; } }
@keyframes hq-lab-scan { 50% { transform: translateY(74px); } }
@keyframes hq-specimen { to { transform: rotate(360deg) scale(1.12); } }
@keyframes hq-parallel-orbit { to { transform: rotate(360deg); } }
@keyframes hq-parallel-ring { to { transform: rotate(360deg); } }
@keyframes hq-task-board { 50% { background-position: 12% 27%, 0 0; filter: brightness(1.5); } }
@keyframes hq-status-blink { 50% { opacity: 0.3; } }
@keyframes hq-board-scan { to { transform: translateY(70px); opacity: 0; } }
@keyframes hq-waveform { to { transform: scaleY(1.75); filter: drop-shadow(0 0 5px #4dc5d3); } }
@keyframes hq-voice-ring { to { transform: scale(1.8); opacity: 0; } }
@keyframes hq-earth-turn { to { background-position: 0 0, 80px 0, 64px 0, 88px 0, 46px 0, 0 0; } }
@keyframes hq-earth-orbit { to { transform: rotate(343deg); } }
@keyframes hq-satellite { 50% { transform: translate(44px, 50px); } }
@keyframes hq-radar-sweep { to { transform: rotate(360deg); } }
@keyframes hq-weather-points { 50% { opacity: 0.28; } }
@keyframes hq-archive-lights { 50% { filter: brightness(1.7); opacity: 0.55; } }
@keyframes hq-archive-scan { 50% { transform: translateX(160px); } }
@keyframes hq-archive-access { 50% { opacity: 0.25; } }

.company-room::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  background:
    linear-gradient(90deg, #4dc5d3 0 16px, transparent 16px calc(100% - 16px), #4dc5d3 calc(100% - 16px)) top / 100% 1px no-repeat,
    linear-gradient(90deg, #4dc5d3 0 16px, transparent 16px calc(100% - 16px), #4dc5d3 calc(100% - 16px)) bottom / 100% 1px no-repeat,
    linear-gradient(#4dc5d3 0 16px, transparent 16px calc(100% - 16px), #4dc5d3 calc(100% - 16px)) left / 1px 100% no-repeat,
    linear-gradient(#4dc5d3 0 16px, transparent 16px calc(100% - 16px), #4dc5d3 calc(100% - 16px)) right / 1px 100% no-repeat;
  transition: opacity 180ms ease;
}

.company-room:hover,
.company-room:focus-visible {
  z-index: 4;
  outline: none;
  border-color: rgba(77, 197, 211, 0.32);
  background: rgba(77, 197, 211, 0.1);
  box-shadow: inset 0 0 50px rgba(77, 197, 211, 0.08), 0 0 38px rgba(77, 197, 211, 0.12);
  transform: translateZ(26px);
}

.company-room:hover::after,
.company-room:focus-visible::after {
  opacity: 1;
}

.company-room-index {
  position: absolute;
  top: 10px;
  left: 11px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(77, 197, 211, 0.55);
  border-radius: 50%;
  color: #dffcff;
  background: rgba(2, 10, 12, 0.72);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
}

.company-room-label {
  position: absolute;
  left: 50%;
  bottom: 11px;
  min-width: 175px;
  padding: 13px 15px;
  opacity: 0;
  transform: translate(-50%, 9px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  text-align: left;
  background: rgba(3, 9, 10, 0.84);
  box-shadow: 0 17px 42px rgba(0, 0, 0, 0.52), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(135%);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.company-room:hover .company-room-label,
.company-room:focus-visible .company-room-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.company-room-label small,
.company-room-label strong,
.company-room-label em {
  display: block;
}

.company-room-label small {
  color: #4dc5d3;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.16em;
}

.company-room-label strong {
  margin: 7px 0 5px;
  font-size: 13px;
  font-weight: 600;
}

.company-room-label em {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-style: normal;
}

.company-hq-coordinate {
  position: absolute;
  right: 28px;
  bottom: 20px;
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.25);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.16em;
}

.company-hq-deck {
  display: none;
}

.company-hq-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px 6px 0;
  color: rgba(255, 255, 255, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7px;
  letter-spacing: 0.16em;
}

.company-hq-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
}

.company-hq-footer span:last-child {
  text-align: right;
}

@media (max-width: 900px) {
  .company-building-mode {
    padding: 92px 14px 48px !important;
  }

  .company-hq-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 6px;
  }

  .company-hq-heading h2 {
    font-size: clamp(40px, 12vw, 66px);
  }

  .company-hq-status {
    display: none;
  }

  .company-hq-scroll {
    width: calc(100% + 28px);
    margin-left: -14px;
    overflow: visible;
    padding: 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .company-hq-scroll::-webkit-scrollbar {
    display: none;
  }

  .company-hq-scene {
    width: 100%;
    height: min(58svh, 540px);
    min-height: 390px;
    aspect-ratio: auto;
    border-radius: 26px;
    transform: none !important;
  }

  .company-hq-canvas > img {
    object-fit: cover;
  }

  .company-room-label {
    display: none;
  }

  .company-room-index {
    width: 31px;
    height: 31px;
    font-size: 9px;
  }

  .company-hq-deck {
    display: flex;
    gap: 9px;
    margin: 10px -14px 0;
    padding: 0 14px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .company-hq-deck::-webkit-scrollbar {
    display: none;
  }

  .company-hq-deck button {
    display: grid;
    grid-template-columns: 29px max-content;
    align-items: center;
    gap: 10px;
    flex: none;
    min-height: 58px;
    padding: 9px 16px 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 17px;
    color: #fff;
    text-align: left;
    background: rgba(11, 19, 20, 0.72);
    backdrop-filter: blur(18px);
  }

  .company-hq-deck button > span {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid rgba(77, 197, 211, 0.5);
    border-radius: 50%;
    color: #4dc5d3;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8px;
  }

  .company-hq-deck strong,
  .company-hq-deck small {
    display: block;
  }

  .company-hq-deck strong {
    font-size: 11px;
    font-weight: 560;
  }

  .company-hq-deck small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 8px;
  }

  .company-hq-footer {
    grid-template-columns: 1fr;
    padding: 15px 6px 0;
  }

  .company-hq-footer span:last-child,
  .company-hq-footer p {
    display: none;
  }

  .company-hq-zoom {
    top: 12px;
    right: 12px;
    gap: 4px;
    padding: 5px;
  }

  .company-hq-zoom button,
  .company-hq-zoom output {
    min-width: 32px;
    height: 32px;
  }

  .company-hq-zoom output {
    min-width: 47px;
  }

  .company-hq-zoom-tip {
    left: 12px;
    bottom: 11px;
    max-width: calc(100% - 24px);
    font-size: 8px;
  }

  .company-hq-focus {
    left: 12px;
    bottom: 12px;
    width: min(340px, calc(100% - 24px));
    padding: 14px;
    border-radius: 16px;
  }

  .company-hq-focus h3 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .company-hq-scene,
  .company-hq-canvas,
  .company-room,
  .company-room-label {
    transition: none !important;
  }

  .company-room-motion,
  .company-room-motion i,
  .company-room-motion b,
  .company-room-motion em {
    animation: none !important;
  }
}
