/* A single semantic list becomes a spatial portfolio on large screens. */
.company-constellation:empty { display: none; }
.constellation-enhanced .company-constellation {
  grid-column: 1 / -1;
  position: relative;
  min-width: 0;
  margin-top: 13px;
  border-top: 1px solid #d5d5d5;
  isolation: isolate;
}
.constellation-masthead {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #777;
  pointer-events: none;
}
.constellation-masthead .label { font-size: 8px; letter-spacing: 1.7px; }
.constellation-orbit { position: relative; height: 490px; width: 100%; overflow: hidden; }
.constellation-canvas { display: block; width: 100%; height: 100%; }
.constellation-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 18px;
  color: #858585;
  text-align: left;
  pointer-events: none;
}
.constellation-center-count { font: 400 52px/1 var(--serif); letter-spacing: -1px; color: #c5c5c5; }
.constellation-center .label { font-size: 7px; line-height: 1.9; letter-spacing: 1.7px; white-space: nowrap; }
.constellation-selected-name { display: none; }
.constellation-orbit-number { display: none; }
.constellation-enhanced .company-list {
  display: block;
  position: absolute;
  inset: 0 0 55px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.constellation-enhanced .company-list > li {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  max-width: 25%;
  padding: 0;
  border: 0;
  text-align: center;
  opacity: var(--company-opacity, 1);
  transform: translate3d(var(--company-x, 0px), var(--company-y, 0px), 0) translate(-50%, -50%) scale(var(--company-scale, 1));
  transition: none;
  pointer-events: auto;
}
.constellation-enhanced .company-list .company-number {
  display: block;
  margin-bottom: 9px;
  font-size: 8px;
  letter-spacing: 2px;
  color: #777;
  translate: none !important;
}
.constellation-enhanced .company-list h3 {
  font-size: clamp(20px, 2.05vw, 29px);
  line-height: 1.1;
  letter-spacing: -.4px;
  overflow-wrap: normal;
  transform: none !important;
  transition: none !important;
}
.constellation-company-button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 4px 3px;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
}
.constellation-company-button:focus-visible { outline-offset: 5px; }
.constellation-enhanced .company-list > .constellation-active { opacity: 1; }
.constellation-active .constellation-company-button { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: #b1b1b1; }
.constellation-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 55px;
  padding: 4px 0 11px;
  border-top: 1px solid #e4e4e4;
}
.editorial-row .constellation-instruction { color: #888; font-size: 10px; letter-spacing: .2px; }
.constellation-mobile-hint { display: none; }
.constellation-navigation { display: flex; align-items: center; gap: 21px; }
.constellation-step { display: grid; place-items: center; width: 40px; height: 40px; color: #444; }
.constellation-step:hover { color: #000; }
.constellation-count { font-size: 9px; letter-spacing: 1.5px; color: #777; white-space: nowrap; }
.constellation-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.constellation-fallback .constellation-canvas { visibility: hidden; }
.constellation-fallback .constellation-orbit::before,
.constellation-fallback .constellation-orbit::after {
  content: '';
  position: absolute;
  width: 68%;
  height: 34%;
  left: 16%;
  top: 33%;
  border: 1px solid #ddd;
  border-radius: 50%;
  transform: rotate(-5deg);
  pointer-events: none;
}
.constellation-fallback .constellation-orbit::after { width: 46%; height: 23%; left: 27%; top: 38.5%; border-color: #ececec; transform: rotate(5deg); }
@media (max-width: 900px) {
  .constellation-enhanced .company-constellation { margin-top: 10px; }
  .constellation-orbit { height: 310px; }
  .constellation-masthead { top: 20px; }
  .constellation-masthead .label { font-size: 7px; letter-spacing: 1.3px; }
  .constellation-center { top: 48%; width: 54%; display: block; text-align: center; z-index: 2; background: #fff; padding: 8px 0; }
  .constellation-center-count { display: none; }
  .constellation-center .label { display: block; color: #999; font-size: 6px; letter-spacing: 1.2px; }
  .constellation-center .label br { display: none; }
  .constellation-selected-name { display: block; margin-top: 15px; font: 400 clamp(22px, 4.5vw, 31px)/1.1 var(--serif); letter-spacing: -.3px; color: #151515; }
  .constellation-orbit-number { display: grid; place-items: center; position: absolute; top: 0; left: 0; font-size: 8px; letter-spacing: 1px; color: #999; width: 26px; height: 26px; border-radius: 50%; background: #fff; }
  .constellation-orbit-number.constellation-active { background: #191919; color: #fff; }
  .constellation-enhanced .company-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; position: relative; inset: auto; margin: 0; pointer-events: auto; }
  .constellation-enhanced .company-list > li { display: flex; align-items: baseline; gap: 16px; position: relative; width: auto; max-width: none; padding: 20px 0; border-top: 1px solid #ddd; text-align: left; transform: none; opacity: 1; }
  .constellation-enhanced .company-list .company-number { display: block; margin: 0; color: #999; font-size: 8px; }
  .constellation-enhanced .company-list h3 { width: 100%; font-size: 24px; line-height: 1.15; letter-spacing: -.3px; }
  .constellation-company-button { min-height: 44px; padding: 0; color: #6e6e6e; }
  .constellation-active .constellation-company-button { color: #111; text-decoration: none; }
  .constellation-enhanced .company-list > .constellation-active::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: #111; position: absolute; left: 0; bottom: 15px; }
  .constellation-controls { margin-top: 0; margin-bottom: 15px; }
  .constellation-desktop-hint { display: none; }
  .constellation-mobile-hint { display: inline; }
  .editorial-row .constellation-instruction { grid-column: auto; font-size: 9px; }
  .constellation-navigation { gap: 10px; }
}
@media (max-width: 540px) {
  .constellation-orbit { height: 290px; }
  .constellation-center { width: 53%; }
  .constellation-selected-name { font-size: 24px; }
  .constellation-enhanced .company-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .constellation-enhanced .company-list > li { gap: 21px; padding: 15px 0; }
  .constellation-enhanced .company-list h3 { font-size: 25px; }
  .constellation-controls { gap: 12px; }
  .constellation-navigation { gap: 3px; }
  .constellation-step { width: 36px; }
  .constellation-masthead, .constellation-center .label { display: none; }
  .constellation-selected-name { margin-top: 0; }
}
