/* Capability orbit: the homepage "security at the centre" diagram, reused on each capability page.
   Markup is generated by scripts/build-capability-orbits.py; behaviour lives in scripts/km-orbit.js. */
.km-ink-hero.fs-hero,
.km-ink-hero.security-hero,
.km-ink-hero.solution-hero,
.km-ink-hero.service-hero {
  background:
    radial-gradient(760px 520px at 78% 45%, rgba(255,212,92,.10), transparent 62%),
    radial-gradient(900px 520px at 90% -10%, rgba(122,91,168,.50), transparent 62%),
    linear-gradient(180deg, #0b1026 0%, #141a45 100%);
}
.km-ink-hero { position: relative; overflow: hidden; }
.km-ink-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg,#000,transparent 85%); mask-image: linear-gradient(180deg,#000,transparent 85%); pointer-events: none; }
.km-ink-hero > * { position: relative; z-index: 1; }
.km-ink-hero .fs-eyebrow, .km-ink-hero .eyebrow { color: #ffd45c; }

.km-orb { position: relative; width: 100%; max-width: 500px; margin: 0 auto; color: #fff; font-family: 'Inter', sans-serif; }
.km-orb__stage { position: relative; aspect-ratio: 1 / 1; }
.km-orb__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.km-orb__ring-outer { transform-origin: 50px 50px; animation: km-orb-spin 90s linear infinite; }
.km-orb__spoke { stroke-dasharray: 1.2 1.6; animation: km-orb-flow 2.6s linear infinite; }
.km-orb__arc { font: 700 2.5px 'Inter', sans-serif; letter-spacing: .32px; fill: rgba(255,255,255,.72); text-transform: uppercase; }
@keyframes km-orb-spin { to { transform: rotate(360deg); } }
@keyframes km-orb-flow { to { stroke-dashoffset: -5.6; } }

.km-orb__core { position: absolute; left: 50%; top: 50%; width: 31%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; text-align: center; color: #0b1026;
  background: radial-gradient(circle at 35% 30%, #fff, var(--core) 58%, color-mix(in srgb, var(--core) 78%, #000) 100%);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--core) 14%, transparent), 0 0 0 22px color-mix(in srgb, var(--core) 7%, transparent), 0 18px 60px color-mix(in srgb, var(--core) 38%, transparent); }
.km-orb__core::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--core) 60%, transparent); animation: km-orb-pulse 3.2s ease-out infinite; }
@keyframes km-orb-pulse { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.km-orb__core svg { width: 26%; height: auto; display: block; margin: 0 auto .2rem; }
.km-orb__core strong { display: block; font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: clamp(.9rem, 2.2vw, 1.25rem); line-height: 1.05; }
.km-orb__core small { display: block; font-size: clamp(.56rem, 1.2vw, .7rem); font-weight: 700; opacity: .75; margin-top: .25rem; text-transform: uppercase; letter-spacing: .06em; }

.km-orb__node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; z-index: 2; font: inherit; }
.km-orb__dot { width: clamp(48px, 12vw, 68px); height: clamp(48px, 12vw, 68px); border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #232a63, #121741); border: 2px solid var(--acc); color: var(--acc);
  box-shadow: 0 0 0 6px rgba(255,255,255,.03), 0 10px 26px rgba(0,0,0,.35); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.km-orb__dot svg { width: 44%; height: 44%; }
.km-orb__label { font-size: clamp(.7rem, 1.5vw, .82rem); font-weight: 700; white-space: nowrap; background: rgba(11,16,38,.78); padding: .16rem .55rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); }
.km-orb__node.is-on .km-orb__dot, .km-orb__node:hover .km-orb__dot, .km-orb__node:focus-visible .km-orb__dot { transform: scale(1.1); background: var(--acc); color: #0b1026; box-shadow: 0 0 0 8px color-mix(in srgb, var(--acc) 22%, transparent), 0 12px 34px rgba(0,0,0,.4); }
.km-orb__node:focus-visible { outline: none; }
.km-orb__node:focus-visible .km-orb__label { outline: 2px solid #ffd45c; outline-offset: 2px; }

.km-orb__caption { margin: 1rem auto 0; max-width: 30rem; min-height: 4.8rem; text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: .8rem 1rem; }
.km-orb__caption b { display: block; color: #ffd45c; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .2rem; }
.km-orb__caption span { font-size: .92rem; color: rgba(255,255,255,.86); line-height: 1.5; }
.km-orb__up { display: block; margin: .8rem auto 0; width: fit-content; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.75) !important; text-decoration: none; border-bottom: 1px dashed rgba(255,212,92,.5); }
.km-orb__up:hover { color: #ffd45c !important; }
.km-orb__up i { font-style: normal; color: #ffd45c; }

@media (max-width: 520px) { .km-orb__arc { display: none; } }
@media (prefers-reduced-motion: reduce) { .km-orb__ring-outer, .km-orb__spoke, .km-orb__core::after { animation: none; } }
