/* =========================================================
   Church Circle — "community orbit" hero (index-4)
   Centred headline inside concentric circles of people,
   ministry icons and live activity. Brand greens + navy only.
   ========================================================= */
/* shared outline icon style (moved here from cc-hero.css, whose other rules styled a hero that no longer exists) */
.cc-i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc-orb { --S: clamp(900px, 96vw, 1360px); padding: 0 0 8px; }
.cc-orb__card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(720px, calc(100svh - 125px), 900px);
  display: grid; place-items: center; padding: 90px 24px;
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-card);
}

/* ---- the orbit stage (everything positioned from its centre) ---- */
.orb-stage { position: absolute; z-index: -1; left: 50%; top: 50%; width: var(--S); height: var(--S); margin: calc(var(--S) / -2) 0 0 calc(var(--S) / -2); pointer-events: none; will-change: transform; }

.orb-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb-c { fill: none; stroke: rgba(30,41,59,.28); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0 10; }
.orb-dot { fill: var(--accent); rotate: var(--o, 0deg); }
.orb-dot circle { filter: drop-shadow(0 0 4px rgba(0,154,68,.55)); }
.orb-it {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: auto;
  transform: rotate(var(--a)) translateX(calc(var(--S) * var(--k))) rotate(calc(var(--a) * -1));
}
.orb-in { position: absolute; left: 0; top: 0; translate: -50% -50%; display: grid; place-items: center; font-style: normal; will-change: transform; }

/* avatar */
.orb-av .orb-in { width: 44px; height: 44px; border-radius: 50%; padding: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(30,41,59,.08), 0 10px 22px -10px rgba(16,55,28,.45); transition: box-shadow .5s var(--ease), scale .5s var(--ease); }
.orb-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 28%; }
.orb-av--lg .orb-in { width: 52px; height: 52px; }
.orb-av .orb-in.is-live { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent), 0 12px 26px -10px rgba(0,154,68,.6); }
.orb-av:hover .orb-in { scale: 1.12; }

/* tiny activity counter (icon + number) */
.orb-stat .orb-in { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; padding: 4px 8px; border-radius: 200px; background: #fff; color: var(--text); font-size: 12.5px; line-height: 1; }
.orb-stat .cc-i { width: 14px; height: 14px; color: var(--muted); }
.orb-stat b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.orb-stat .is-up { color: var(--accent); }

/* round icon bubble with a counter under it */
.orb-bub .orb-in { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); box-shadow: 0 0 0 6px #fff, 0 12px 26px -12px rgba(16,55,28,.45); }
.orb-bub .orb-in > .cc-i { width: 26px; height: 26px; }
.orb-bub small { position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% 0; display: inline-flex; gap: 4px; align-items: center; font-size: 12px; color: var(--text); white-space: nowrap; }
.orb-bub small b { font-weight: 500; color: var(--ink); }
.orb-bub small .cc-i { width: 12px; height: 12px; color: var(--accent); }

/* "Prayer answered" chip */
.orb-chip .orb-in { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; padding: 6px 12px 6px 7px; border-radius: 200px; background: #fff; border: 1px solid rgba(0,154,68,.45); color: var(--accent-deep); font-size: 12.5px; font-weight: 500; line-height: 1; box-shadow: 0 10px 22px -14px rgba(0,154,68,.6); }
.orb-chip .orb-in span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.orb-chip .orb-in span .cc-i { width: 11px; height: 11px; stroke-width: 3; }

/* green check badge */
.orb-ok .orb-in { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(0,154,68,.35), 0 12px 24px -10px rgba(0,154,68,.6); }
.orb-ok .cc-i { width: 20px; height: 20px; stroke-width: 2.6; }

/* big friendly emoji */
.orb-emoji { position: absolute; z-index: 0; line-height: 1; pointer-events: none; filter: drop-shadow(0 14px 18px rgba(16,55,28,.18)); will-change: transform; }
.orb-emoji--a { left: 26%; top: 71%; font-size: clamp(54px, 5.4vw, 80px); }
.orb-emoji--b { right: 21%; top: 16%; font-size: clamp(34px, 3.2vw, 48px); }

/* ---- centred copy ---- */
.cc-orb__copy { position: relative; z-index: 2; max-width: 640px; text-align: center; display: grid; justify-items: center; gap: 22px; }
.cc-orb__eyebrow { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--accent-deep); }
.cc-orb__title { font: 500 clamp(42px, 1rem + 4.2vw, 78px)/1.02 var(--head); letter-spacing: -2px; color: var(--ink); }
.cc-orb__title > span { display: block; }
.cc-orb__title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.cc-orb__lead { max-width: 520px; color: var(--text); font-size: 16px; line-height: 1.6; }
.cc-orb__actions { display: grid; justify-items: center; gap: 14px; margin-top: 6px; }
.cc-orb__watch { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; color: var(--ink); font-size: 15px; font-weight: 500; }
.cc-orb__watch svg { width: 14px; height: 14px; transition: translate .4s var(--ease); }
.cc-orb__watch:hover svg { translate: 4px 0; }

/* phones: a compact avatar cluster instead of the orbit */
.cc-orb__mob { display: none; }

@media (max-width: 1199px) { .orb-it[data-inner] { display: none; } }
@media (max-width: 999px) {
  .cc-orb { --S: 150vw; }
  .orb-it, .orb-dot, .orb-emoji { display: none; }
  .cc-orb__card { padding: 64px 20px 56px; min-height: 0; }
  .cc-orb__mob { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
  .mob-faces { display: flex; }
  .mob-faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; border: 3px solid #fff; margin-left: -10px; box-shadow: 0 6px 14px -6px rgba(16,55,28,.4); }
  .mob-faces img:first-child { margin-left: 0; }
  .cc-orb__mob .orb-chip-s { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 200px; border: 1px solid rgba(0,154,68,.45); color: var(--accent-deep); font-size: 12.5px; font-weight: 500; background: #fff; }
}
