/* Inbound gravity (Manny, 2026-11-15; bones A, his gallery's Spiral Images; approved and locked). A deep navy well: the words on the left,
   the spiral on the right, faceless profile cards (his pick A, solid, initials in IGM's blues) winding into the
   company page at the centre. ig.js draws the spiral and, on desktop with motion, cross-fades the three steps (lit:
   sky fill and border; unlit: the plain card at .38) and the page's latest event as the section scrolls past; the
   page never holds. Narrow screens stack the words over the spiral; reduced motion shows it still. */
.ig {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); color: #fff;
  background: radial-gradient(70% 55% at 50% 78%, #134B78 0%, #0D2B45 58%, #0A1F33 100%);
}
.ig-text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 64px) 24px; }
.ig-k { margin: 0 0 14px; font: 600 14px/1 var(--font-body); color: var(--sky); letter-spacing: .02em; }
.ig-h2 { margin: 0; max-width: 13ch; font: 700 clamp(36px, 4.6vw, 68px)/1.02 var(--font-head); letter-spacing: -.022em; }
.ig-sub { margin: 20px 0 0; max-width: 34ch; font-size: 19px; line-height: 1.45; color: var(--dark-muted); }

.ig-steps { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: ig; max-width: 480px; }
.ig-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 12px; border: 1px solid var(--dark-border); background: rgba(255,255,255,.04); }
.ig-steps li::before { counter-increment: ig; content: counter(ig); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(92,184,230,.16); color: var(--sky); font: 800 16px/1 var(--font-head); }
.ig-steps b { font: 700 18px/1.2 var(--font-head); }
.ig-steps span { font-size: 15px; line-height: 1.4; color: var(--dark-muted); }

.ig-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 480px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.ig-figs p { margin: 0; }
.ig-figs b { display: block; font: 800 clamp(36px, 3.4vw, 52px)/1 var(--font-head); letter-spacing: -.02em; color: var(--sky); }
.ig-figs span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.88); }
.ig-src { margin: 12px 0 0; font-size: 12.5px; color: var(--dark-muted); }

.ig-stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.ig-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ig-page {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 196px; padding: 16px 14px 14px; transform: translate(-50%, -50%);
  border-radius: 14px; background: #fff; color: var(--text); text-align: center;
  box-shadow: 0 0 0 10px rgba(92,184,230,.14), 0 0 90px 24px rgba(92,184,230,.32), 0 24px 50px -20px rgba(0,0,0,.6);
}
.ig-page p { margin: 0; }
.ig-logo { display: block; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 12px; background: linear-gradient(135deg, var(--deep-blue), var(--igm-blue)); }
.ig-name { font: 800 17px/1.2 var(--font-head); }
.ig-meta { margin-top: 2px !important; font-size: 13px; color: var(--muted); }
.ig-event { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px !important; padding: 7px 10px; border-radius: 12px; background: var(--pale-blue); color: var(--deep-blue); font: 600 12.5px/1.25 var(--font-body); text-align: left; }
.ig-event i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--igm-blue); }
.ig-ev { display: grid; }
.ig-ev > span { grid-area: 1 / 1; }

@media (max-width: 640px) {
  .ig-page { width: 156px; padding: 12px 10px 10px; }
  .ig-logo { width: 40px; height: 40px; margin-bottom: 8px; border-radius: 10px; }
  .ig-name { font-size: 15px; }
  .ig-event { font-size: 11.5px; padding: 6px 8px; }
}

@media (min-width: 981px) {
  .ig { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: calc(100svh - 28px); background: radial-gradient(55% 75% at 74% 50%, #134B78 0%, #0D2B45 55%, #0A1F33 100%); }
  .ig-text { padding: clamp(40px, 5vw, 80px) clamp(28px, 3vw, 48px) clamp(40px, 5vw, 80px) clamp(28px, 4vw, 64px); }
  .ig-stage { aspect-ratio: auto; min-height: 560px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
}
