/* Integration partners section. The stars and Pause styles are shared with the holding pages.
   1 · .ix        "Integrated with" section: rotating headline + ecosystem orbit
   2 · .stars     Constellation layer (twinkling stars + faint links), drawn by
                  integrations.js into any element with data-constellation.
   Every class starts with ix- or stars so nothing here touches the rest of the site. */

/* ---------- 3 · Constellation layer ---------- */
[data-constellation] { position: relative; isolation: isolate; }
.stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.stars svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stars line { stroke: rgba(117, 185, 176, 0.16); stroke-width: 1; }
/* behind long paragraphs, stars only (no lines) so the text stays easy to read */
.who-we-are .stars line { display: none; }
.stars .st { fill: #cdeee8; animation: stars-twinkle var(--d, 4s) ease-in-out infinite; animation-delay: var(--o, 0s); }
.stars .st-node { fill: #ffffff; filter: drop-shadow(0 0 4px rgba(117, 185, 176, 0.9)); }
@keyframes stars-twinkle { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.95; } }
/* keep the section's own content above the stars */
[data-constellation] > :not(.stars) { position: relative; z-index: 1; }

/* ---------- 1 · Integrated with: rotating headline + orbit ---------- */
.ix {
  color: #fff;
  padding: 96px 0;
  background: radial-gradient(60% 90% at 74% 50%, #17414f 0%, #0d2430 55%, #0a1d26 100%);
  overflow: hidden;
  font-family: Inter, sans-serif;
}
.ix-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.ix-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.ix-eyebrow { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #d8b979; }
.ix-h {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, calc(4 * var(--vw)), 58px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #fff;
}
/* the gold box that rotates through the partner names */
.ix-swap {
  position: relative;
  display: inline-grid;
  box-sizing: content-box;
  height: 1.2em;
  padding: 0 0.3em;
  border-radius: 0.2em;
  background: #d8b979;
  color: #102936;
  overflow: hidden;
  vertical-align: bottom;
  transition: width 0.45s cubic-bezier(0.7, 0, 0.3, 1);
}
.ix-swap-word { grid-area: 1 / 1; display: block; line-height: 1.2em; white-space: nowrap; justify-self: start; }
.ix-swap-word.is-out { animation: ix-out 0.45s cubic-bezier(0.7, 0, 0.3, 1) forwards; }
.ix-swap-word.is-in { animation: ix-in 0.45s cubic-bezier(0.7, 0, 0.3, 1) both; }
@keyframes ix-out { to { transform: translateY(-110%); } }
@keyframes ix-in { from { transform: translateY(110%); } }
.ix-h .ix-teal { color: #75b9b0; display: inline-block; text-wrap: balance; }
.ix-p { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: #c7d0e6; }
.ix-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.ix-btn {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.ix-btn:hover { transform: translateY(-2px); }
.ix-btn--gold { background: #d8b979; color: #102936; }
.ix-btn--gold:hover { background: #e6c98c; color: #102936; }
.ix-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.ix-btn--ghost:hover { border-color: #d8b979; color: #fff; }
.ix-legend { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 10px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fa3b5; }
.ix-legend span { display: inline-flex; align-items: center; gap: 8px; }
.ix-legend i { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.ix-legend i.ix-outline { background: none; border: 1px solid #75b9b0; }

/* the orbit: a square stage, every position in % so it scales with the screen */
.ix-orbit { position: relative; width: min(100%, 600px); aspect-ratio: 1; margin: 0 auto; }
.ix-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.ix-ring--in { width: 46%; height: 46%; border: 1px solid rgba(216, 185, 121, 0.4); }
.ix-ring--out { width: 84%; height: 84%; border: 1px dashed rgba(117, 185, 176, 0.4); animation: ix-spin 90s linear infinite; }
.ix-ring--halo { width: 112%; height: 112%; border: 1px solid rgba(255, 255, 255, 0.05); }
@keyframes ix-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.ix-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #24566a, #102936 70%);
  border: 2px solid #d8b979;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  animation: ix-pulse 3s ease-in-out infinite;
}
.ix-core b { font-family: Archivo, sans-serif; font-weight: 800; font-size: clamp(16px, calc(2.2 * var(--vw)), 28px); letter-spacing: 0.06em; }
.ix-core small { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: clamp(8px, calc(0.8 * var(--vw)), 10px); letter-spacing: 0.12em; white-space: nowrap; color: #d8b979; }
@keyframes ix-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(117, 185, 176, 0.45); } 50% { box-shadow: 0 0 0 18px rgba(117, 185, 176, 0); } }
.ix-nodes { list-style: none; margin: 0; padding: 0; }
.ix-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 0.55em 1em;
  border-radius: 999px;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: clamp(12px, calc(1.15 * var(--vw)), 15px);
  white-space: nowrap;
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.ix-node--in { background: #fff; color: #102936; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.ix-node--out { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(117, 185, 176, 0.6); color: #fff; }
.ix-node--more { border: 1px dashed rgba(216, 185, 121, 0.8); color: #d8b979; font-weight: 600; }
.ix-node.is-active { background: #d8b979; color: #102936; border-color: #d8b979; transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 0 0 6px rgba(216, 185, 121, 0.22), 0 14px 30px -10px rgba(0, 0, 0, 0.6); }

/* the landing screen's slim belt now leads to the full section */

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ix { padding: 72px 0; }
  .ix-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ix-orbit { width: min(100%, 520px); }
}
@media (max-width: 600px) {
  .ix-wrap { padding: 0 16px; }
  .ix-orbit { width: 100%; }
  .ix-h { font-size: 34px; }
  .ix-node { font-size: 11.5px; padding: 0.5em 0.85em; }
  .ix-core { width: 26%; }
  .ix-legend { gap: 10px 20px; }
  .ix-ring--halo { display: none; }
}

/* ---------- Reduced motion: everything still shows, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  .stars .st, .ix-ring--out, .ix-core { animation: none !important; }
  .ix-swap-word.is-in, .ix-swap-word.is-out { animation: none !important; }
  .ix-node { transition: none; }
}

/* ---------- Pause buttons for anything that moves on its own (WCAG 2.2.2) ---------- */
.motion-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(117, 185, 176, 0.55);
  background: transparent;
  color: #2f6d63;
  font: 600 12px/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.motion-btn svg { fill: currentColor; }
.motion-btn .mb-play { display: none; }
.motion-btn[aria-pressed="true"] .mb-play { display: block; }
.motion-btn[aria-pressed="true"] .mb-pause { display: none; }
.motion-btn:hover { border-color: #d8b979; }
.motion-btn:focus-visible { outline: 2px solid #d8b979; outline-offset: 2px; }
.ix .motion-btn { color: #cdeee8; border-color: rgba(255, 255, 255, 0.3); }
.ix-tools { display: flex; }
.news-ticker .motion-btn { margin: 0 10px; }
/* a paused band stops every animation inside it */
.is-paused, .is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .motion-btn { display: none; } }
@media (max-width: 600px) { .motion-btn { min-height: 44px; } }

/* ---------- Bigger touch targets on phones ---------- */
@media (max-width: 600px) {
  .ix-node { min-height: 32px; display: inline-flex; align-items: center; }
  .foot-col a, .foot-locations a { display: inline-block; padding-block: 8px; }
}
