/* ================= HOME ================= */

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(6, 182, 212, .16), transparent 60%),
    radial-gradient(760px 480px at 0% 40%, rgba(2, 132, 199, .12), transparent 60%),
    linear-gradient(180deg, #EAF2FF 0%, #F4F8FF 55%, var(--bg) 100%);
  color: var(--ink);
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(8rem, 14vw, 11rem);
  min-height: min(100svh, 960px);
  display: flex; align-items: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .85; }
.hero::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(2, 132, 199, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(2, 132, 199, .07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  animation: heroGrid 30s linear infinite;
}
@keyframes heroGrid { to { background-position: 52px 52px; } }
.hero__glow {
  position: absolute; inset: auto 0 0 0; height: 240px; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { color: var(--navy); }
.hero__lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 580px; margin: 1.5rem 0 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.hero__trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust .material-symbols-rounded { color: var(--blue); font-size: 1.15rem; }

/* Radar visual */
.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.radar { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
.radar__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(2, 132, 199, .22); }
.radar__ring.r1 { inset: 0; border-style: dashed; animation: spin 60s linear infinite; }
.radar__ring.r2 { inset: 14%; border-color: rgba(2, 132, 199, .16); background: rgba(255,255,255,.35); }
.radar__ring.r3 { inset: 28%; border-color: rgba(2, 132, 199, .28); background: radial-gradient(circle, rgba(6, 182, 212, .12), transparent 70%); }
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(6, 182, 212, .3), rgba(6, 182, 212, 0) 22%, transparent 100%);
  mask-image: radial-gradient(circle, #000 0 68%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 0 68%, transparent 70%);
  animation: spin 5s linear infinite; animation-direction: reverse;
}
.radar__blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--cyan); animation: blip 5s ease-out infinite; opacity: 0; }
.radar__blip.b1 { top: 24%; left: 63%; animation-delay: .5s; }
.radar__blip.b2 { top: 62%; left: 74%; animation-delay: 1.6s; }
.radar__blip.b3 { top: 70%; left: 27%; animation-delay: 3.4s; }
@keyframes blip { 0% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.3); } 40% { opacity: .5; transform: scale(1); } 70%, 100% { opacity: 0; } }

.seal {
  position: absolute; inset: 33%; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 30% 25%, #fdfdfd, #f1f7ff 70%);
  border: 1px solid rgba(103, 232, 249, .35);
  box-shadow: 0 0 0 10px rgba(255,255,255,.7), 0 0 0 11px rgba(2, 132, 199, .18), 0 24px 50px -12px rgba(11, 25, 44, .45), inset 0 0 30px rgba(6, 182, 212, .2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .15rem;
}
.seal img { width: 80%; margin-left: -0.2em; }
.seal strong { font-family: var(--f-head); font-weight: 800; color: var(--brand-text); font-size: clamp(.7rem, 1.4vw, .9rem); letter-spacing: .02em; }
.seal small { font-size: clamp(.5rem, 1vw, .62rem); letter-spacing: .2em; color: var(--cyan-l); font-weight: 600; }

.orbit { position: absolute; inset: 0; z-index: 3; }
.orbit__chip {
  position: absolute; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  padding: .5rem .8rem; border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--navy);
  background: rgba(255, 255, 255, .88); border: 1px solid rgba(2, 132, 199, .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px -10px rgba(11, 25, 44, .25);
  animation: floaty 3.2s var(--ease-in-out) infinite alternate;
}
.orbit__chip .material-symbols-rounded { color: var(--blue); font-size: 1.05rem; }
.orbit__chip.c1 { top: 4%; left: 50%; translate: -50% 0; }
.orbit__chip.c2 { top: 36%; right: -6%; animation-delay: -.8s; }
.orbit__chip.c3 { bottom: 10%; right: 4%; animation-delay: -1.6s; }
.orbit__chip.c4 { top: 50%; left: -8%; animation-delay: -2.4s; }

.hero__ticker {
  display: flex; align-items: center; gap: .65rem; max-width: 100%;
  padding: .6rem 1rem; border-radius: 999px; font-size: .8rem;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2);
}
.hero__ticker-label { color: var(--blue); font-weight: 600; text-transform: uppercase; font-size: .66rem; letter-spacing: .12em; }
.hero__ticker-text { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s, transform .35s var(--ease); }
.hero__ticker-text.is-swapping { opacity: 0; transform: translateY(6px); }

.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(5.5rem, 10vw, 7.5rem); translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(11, 25, 44, .25);
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__copy .btn-row, .hero__trust { justify-content: center; }
  .radar { width: min(82vw, 380px); }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .orbit__chip { font-size: .66rem; padding: .38rem .6rem; }
  .orbit__chip.c2 { right: -2%; }
  .orbit__chip.c4 { left: -2%; }
  .hero__copy .btn-row .btn { width: 100%; }
}

/* ---------- Pillars ---------- */
.pillars { position: relative; z-index: 2; margin-top: clamp(-7rem, -10vw, -5rem); }
/* Each pillar has its own accent: --pc (main) and --pc2 (gradient partner) */
.pillar:nth-child(1) { --pc: #0284C7; --pc2: #06B6D4; }  /* Integrity — blue */
.pillar:nth-child(2) { --pc: #7C3AED; --pc2: #C026D3; }  /* Confidentiality — violet */
.pillar:nth-child(3) { --pc: #059669; --pc2: #14B8A6; }  /* Smart Solutions — emerald */
.pillar:nth-child(4) { --pc: #EA580C; --pc2: #F59E0B; }  /* Network Development — orange */

.pillar {
  display: flex; flex-direction: column; gap: .85rem;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--pc2) 16%, transparent), transparent 55%),
    linear-gradient(180deg, color-mix(in srgb, var(--pc) 7%, #fff) 0%, #fff 70%);
  border-color: color-mix(in srgb, var(--pc) 18%, transparent);
  box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--pc) 35%, transparent), var(--sh-1);
}
.pillar::after { /* coloured top stripe */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--pc), var(--pc2));
}
.pillar.spotlight::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--pc) 13%, transparent), transparent 45%); }
.pillar__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.pillar .icon-box {
  color: #fff; border: 0;
  background: linear-gradient(135deg, var(--pc), var(--pc2));
  box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--pc) 60%, transparent);
}
.pillar.card--hover:hover .icon-box { background: linear-gradient(135deg, var(--pc2), var(--pc)); color: #fff; }
.pillar .num-badge {
  color: var(--pc); font-size: .72rem; padding: .3rem .6rem; border-radius: 999px;
  background: color-mix(in srgb, var(--pc) 10%, #fff); border: 1px solid color-mix(in srgb, var(--pc) 22%, transparent);
}
.pillar h3 { color: var(--navy); }
.pillar p { color: var(--muted); font-size: .92rem; flex: 1; }
.pillar .link-arrow { color: var(--pc); }
.pillar.card--hover:hover {
  border-color: color-mix(in srgb, var(--pc) 45%, transparent);
  box-shadow: 0 24px 48px -16px color-mix(in srgb, var(--pc) 45%, transparent), var(--sh-1);
}

/* ---------- Services matrix ---------- */
.matrix { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.svc-list { display: grid; gap: .75rem; }
.svc-item {
  position: relative; display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .35s, box-shadow .35s, transform .45s var(--ease);
}
.svc-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue)); transform: scaleY(0); transition: transform .45s var(--ease);
}
.svc-item:hover { border-color: rgba(14, 165, 233, .35); box-shadow: var(--sh-2); transform: translateX(6px); }
.svc-item:hover::before { transform: scaleY(1); }
.svc-item__n {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px;
  font-family: var(--f-head); font-weight: 800; font-size: .9rem; color: var(--blue);
  background: rgba(2, 132, 199, .08); transition: background .35s, color .35s;
}
.svc-item:hover .svc-item__n { background: var(--blue); color: #fff; }
.svc-item__body { display: flex; flex-direction: column; gap: .15rem; flex: 1; min-width: 0; }
.svc-item__body strong { font-family: var(--f-head); font-weight: 700; font-size: .98rem; color: var(--navy); }
.svc-item__body span { font-size: .86rem; color: var(--muted); }
.svc-item__go { color: var(--muted-2); transition: transform .4s var(--ease), color .3s; }
.svc-item:hover .svc-item__go { color: var(--blue); transform: rotate(45deg); }

.objectives { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--sh-2); }
.objectives__chart { position: relative; width: min(100%, 320px); aspect-ratio: 1; }
.donut { width: 100%; height: 100%; overflow: visible; }
.donut__track { fill: none; stroke: #EEF2F7; stroke-width: 30; }
.donut__seg { fill: none; stroke-width: 30; cursor: pointer; transition: stroke-width .4s var(--ease), opacity .4s, stroke-dasharray 1.2s var(--ease); }
.donut__seg.is-active { stroke-width: 40; }
.donut.has-active .donut__seg:not(.is-active) { opacity: .35; }
.donut__center { position: absolute; inset: 24%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 50%; background: #fff; box-shadow: var(--sh-2); padding: .5rem; }
.donut__kicker { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.donut__center strong { font-family: var(--f-head); font-weight: 800; color: var(--navy); font-size: clamp(.85rem, 2.4vw, 1.05rem); line-height: 1.2; margin: .15rem 0; }
.donut__desc { font-size: .68rem; color: var(--muted-2); line-height: 1.35; max-width: 120px; }
/* Objective labels sit on top of their own ring segment */
.obj-legend { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.obj-legend li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.obj-legend button {
  pointer-events: auto; display: inline-flex; align-items: center; gap: .35rem; max-width: 118px; text-align: left;
  font-size: .7rem; font-weight: 700; line-height: 1.2; color: var(--navy);
  padding: .38rem .6rem; border-radius: 10px; border: 1.5px solid var(--c); background: rgba(255,255,255,.96);
  box-shadow: 0 6px 16px -6px rgba(11, 25, 44, .35);
  opacity: 0; transform: scale(.7); transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s, color .3s, box-shadow .3s;
  transition-delay: calc(var(--k) * 120ms + .6s);
}
.objectives.is-in .obj-legend button, .objectives:not([data-reveal]) .obj-legend button { opacity: 1; transform: none; }
.obj-legend button i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; }
.obj-legend button:hover, .obj-legend button.is-active { background: var(--c); color: #fff; transform: scale(1.06); transition-delay: 0s; box-shadow: 0 10px 22px -6px rgba(11, 25, 44, .45); }
.obj-legend button:hover i, .obj-legend button.is-active i { background: #fff; }
@media (min-width: 901px) { .objectives__chart { width: min(100%, 380px); } }
@media (max-width: 420px) { .obj-legend button { font-size: .62rem; max-width: 96px; padding: .3rem .45rem; } }
@media (max-width: 900px) {
  .matrix { grid-template-columns: 1fr; }
  .objectives { position: relative; top: 0; }
}

/* ---------- Track record ---------- */
.record { background: radial-gradient(900px 500px at 50% 0%, #133056, transparent 70%), var(--navy); }
.record__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-xl); background: rgba(255,255,255,.02); }
.big-stat { padding: clamp(1.75rem, 3.5vw, 2.75rem); position: relative; }
.big-stat + .big-stat { border-left: 1px solid rgba(255,255,255,.08); }
.big-stat strong {
  display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(180deg, #FFFFFF 20%, #7DD3FC 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.big-stat h3 { font-family: var(--f-head); font-size: 1.05rem; color: var(--brand-text); margin: .9rem 0 .5rem; }
.big-stat p { font-size: .9rem; }
@media (max-width: 820px) {
  .record__stats { grid-template-columns: 1fr; }
  .big-stat + .big-stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
}
.dark-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.6rem; border-radius: var(--r-lg); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08);
  transition: border-color .4s, transform .45s var(--ease), background .4s;
}
.dark-card:hover { border-color: rgba(34, 211, 238, .4); transform: translateY(-5px); background: rgba(255,255,255,.06); }
.dark-card__kicker { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-l); }
.dark-card h3 { margin: .2rem 0 .5rem; }
.dark-card p { font-size: .9rem; }

/* ---------- Pipeline ---------- */
.pipeline { position: relative; }
.pipeline__line { position: absolute; top: 36px; left: 10%; right: 10%; height: 3px; border-radius: 3px; background: #E2E8F0; overflow: hidden; }
.pipeline__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; transform: scaleX(0); }
.pipeline__steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.step { text-align: center; display: flex; flex-direction: column; align-items: center; }
.step__icon {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: #fff; border: 1.5px solid #E2E8F0; color: var(--muted-2); position: relative;
  transition: background .5s, color .5s, border-color .5s, transform .6s var(--ease), box-shadow .5s;
}
.step__icon .material-symbols-rounded { font-size: 1.9rem; }
.step.is-active .step__icon { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; border-color: transparent; transform: translateY(-4px) rotate(-4deg); box-shadow: 0 14px 30px -8px rgba(2, 132, 199, .5); }
.step__n { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); transition: color .4s; }
.step.is-active .step__n { color: var(--blue); }
.step h3 { font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--navy); margin: .35rem 0 .4rem; }
.step p { font-size: .86rem; color: var(--muted); max-width: 220px; }
@media (max-width: 900px) {
  .pipeline__line { top: 0; bottom: 0; left: 35px; right: auto; width: 3px; height: auto; }
  .pipeline__line i { transform-origin: top; transform: scaleY(0); }
  .pipeline__steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 1.25rem; text-align: left; align-items: start; }
  .step__icon { grid-row: span 3; margin: 0; }
  .step p { max-width: none; }
}

/* ---------- Trusted ---------- */

/* ---------- Philosophy ---------- */
.philo { padding-top: 2.5rem; }
.philo__n {
  position: absolute; right: 1.25rem; top: .5rem; font-family: var(--f-head); font-weight: 800; font-size: 5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(2, 132, 199, .18); transition: -webkit-text-stroke-color .4s, transform .6s var(--ease);
}
.philo:hover .philo__n { -webkit-text-stroke-color: rgba(6, 182, 212, .55); transform: translateY(-4px); }
.philo h3 { margin-bottom: .75rem; position: relative; }
.philo h3::after { content: ""; display: block; width: 36px; height: 3px; border-radius: 3px; margin-top: .75rem; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .5s var(--ease); }
.philo:hover h3::after { width: 72px; }
.philo p { color: var(--muted); }

/* ---------- Colourful service list & pipeline ---------- */
.svc-list.colorful .svc-item__n { color: var(--pc); background: color-mix(in srgb, var(--pc) 11%, #fff); }
.svc-list.colorful .svc-item:hover .svc-item__n { color: #fff; background: linear-gradient(135deg, var(--pc), var(--pc2)); }
.svc-list.colorful .svc-item::before { background: linear-gradient(180deg, var(--pc), var(--pc2)); }
.svc-list.colorful .svc-item { background: linear-gradient(90deg, color-mix(in srgb, var(--pc) 5%, #fff), #fff 60%); border-color: color-mix(in srgb, var(--pc) 16%, transparent); }
.svc-list.colorful .svc-item:hover { border-color: color-mix(in srgb, var(--pc) 45%, transparent); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--pc) 45%, transparent); }
.svc-list.colorful .svc-item:hover .svc-item__go { color: var(--pc); }
.pipeline__steps.colorful .step__icon { color: var(--pc); border-color: color-mix(in srgb, var(--pc) 30%, transparent); background: color-mix(in srgb, var(--pc) 7%, #fff); }
.pipeline__steps.colorful .step.is-active .step__icon { color: #fff; background: linear-gradient(135deg, var(--pc), var(--pc2)); box-shadow: 0 14px 30px -8px color-mix(in srgb, var(--pc) 55%, transparent); }
.pipeline__steps.colorful .step.is-active .step__n { color: var(--pc); }
.pipeline__line i { background: linear-gradient(90deg, #0284C7, #7C3AED, #059669, #EA580C, #E11D48); }
@media (max-width: 900px) { .pipeline__line i { background: linear-gradient(180deg, #0284C7, #7C3AED, #059669, #EA580C, #E11D48); } }

/* =========================================================
   CLIENT ORBIT — partner logos circling the C&T logo
   ========================================================= */
.clients-orbit {
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 75% 50%, rgba(6, 182, 212, .10), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, #EEF4FF 50%, var(--bg) 100%);
}
.cl-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cl-copy .lead { margin-top: 1rem; }
.cl-now {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.75rem; max-width: 100%;
  padding: .7rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2);
}
.cl-now__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); flex: none; animation: pulse 2.2s infinite; }
.cl-now__label { font-size: .70rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.cl-now__name { font-family: var(--f-head); font-weight: 700; font-size: .70rem; letter-spacing: .14em; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .25s; }
.cl-now__name.is-swapping { opacity: 0; }
.cl-hint { display: flex; align-items: center; gap: .4rem; margin-top: 1rem; font-size: .82rem; color: var(--muted-2); }
.cl-hint .material-symbols-rounded { color: var(--blue); font-size: 1.15rem; }

/* Stage: all sizes scale with the stage width (container query units) */
.cl-stage {
  --spin: 70s; --card-w: 16.5cqw; --card-h: 10cqw; --card-pad: 1.3cqw;
  position: relative; width: min(100%, 640px); aspect-ratio: 1; margin-inline: auto;
  container-type: inline-size;
}
.cl-track { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(2, 132, 199, .25); pointer-events: none; }
.cl-track--outer { inset: 6%; }
.cl-track--inner { inset: 23%; border-style: solid; border-color: rgba(2, 132, 199, .16); background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,.3) 70%); }
.cl-glow { position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle, rgba(6, 182, 212, .35), transparent 70%); filter: blur(20px); pointer-events: none; }

.cl-ring { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; animation: spin var(--spin) linear infinite; }
.cl-ring--outer { --r: 44cqw; }
.cl-ring--inner { --r: 27cqw; --spin: 50s; animation-direction: reverse; }
.cl-sat {
  --a: calc(360deg / var(--n) * var(--i));
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
}
.cl-card {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  /* every logo card is exactly the same size, in both rings */
  width: var(--card-w); height: var(--card-h); padding: var(--card-pad);
  display: grid; place-items: center; cursor: pointer; pointer-events: auto;
  background: #fff; border: 1px solid rgba(15, 23, 42, .08); border-radius: 2.2cqw;
  box-shadow: 0 10px 24px -10px rgba(11, 25, 44, .25);
  /* counter-rotate so logos stay upright while the ring turns */
  animation: spin var(--spin) linear infinite reverse;
  transition: box-shadow .35s, border-color .35s, scale .35s var(--ease);
}
.cl-ring--inner .cl-card { animation-direction: normal; }
/* optical sizing: JS sets --w / --h so wide and square logos carry equal visual weight */
.cl-card img { width: var(--w, 100%); height: var(--h, 100%); max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.cl-card:hover, .cl-card:focus-visible, .cl-card.is-active {
  scale: 1.18; z-index: 5; border-color: rgba(2, 132, 199, .5);
  box-shadow: 0 18px 36px -10px rgba(2, 132, 199, .45);
}
.cl-sat:has(.cl-card:hover), .cl-sat:has(.cl-card.is-active) { z-index: 5; }
/* pause the whole orbit while hovering / focusing */
.cl-stage:hover .cl-ring, .cl-stage:hover .cl-card,
.cl-stage:focus-within .cl-ring, .cl-stage:focus-within .cl-card,
.cl-stage.is-paused .cl-ring, .cl-stage.is-paused .cl-card { animation-play-state: paused; }

.cl-core {
  position: absolute; inset: 37%; border-radius: 50%; z-index: 3;
  display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 1.6cqw rgba(255,255,255,.8), 0 0 0 1.8cqw rgba(2, 132, 199, .18), 0 24px 50px -12px rgba(11, 25, 44, .35);
}
.cl-core img { width: 78%; height: 78%; object-fit: contain; position: relative; z-index: 1; }
.cl-core__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(6, 182, 212, .5); animation: clPulse 3s var(--ease) infinite; }
.cl-core__pulse--2 { animation-delay: 1.5s; }
@keyframes clPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }

/* Entrance: rings fade + expand in */
.cl-stage .cl-ring { opacity: 0; scale: .7; transition: opacity 1s var(--ease), scale 1.2s var(--ease); }
.cl-stage .cl-ring--inner { transition-delay: .25s; }
.cl-stage.is-in .cl-ring, .cl-stage:not([data-reveal]) .cl-ring { opacity: 1; scale: 1; }

@media (max-width: 960px) {
  .cl-grid { grid-template-columns: 1fr; text-align: center; }
  .cl-copy { max-width: 620px; margin-inline: auto; }
  .cl-hint { justify-content: center; }
  .cl-stage { width: min(100%, 560px); }
}
@media (max-width: 560px) {
  .cl-stage { --card-w: 20.5cqw; --card-h: 12cqw; --card-pad: 1.5cqw; }
  .cl-ring--outer { --r: 43cqw; }
  .cl-ring--inner { --r: 26cqw; }
  .cl-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cl-ring, .cl-card, .cl-core__pulse { animation: none !important; }
}
