/* intro v29 — Rolls-Royce thread: circle-expand reveal, half-ring, chat alignment, dual-layer parallax */

.intro-thread { min-height: 88vh; }

/* Clip-path circle expand from centre on load */
.intro-thread__reveal {
    animation: intro-thread-expand 900ms ease forwards;
}
@keyframes intro-thread-expand {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(150% at 50% 50%); }
}

/* Half-ring at the boundary (fixed size — no BS w-N/h-N utility) */
.intro-thread__half {
    width: 16rem;
    height: 8rem;
    opacity: 0.7;
    filter: blur(2px);
}
.intro-thread__sun { width: 6rem; height: 6rem; }
.intro-thread [data-msg] { max-width: 28rem; }

/* Dual-layer parallax offset (set by JS via custom props) */
.intro-thread__island [data-layer] {
    transition: transform 200ms ease-out;
    transform: translate(var(--px, 0), var(--py, 0));
}

/* Chat thread alternate alignment + retro corner tails */
.intro-thread [data-msg] { border-bottom-left-radius: 0.25rem; }
.intro-thread [data-msg]:nth-child(even) {
    margin-left: auto;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .intro-thread__reveal { animation: none; }
    .intro-thread__island [data-layer] { transition: none; }
}

.services__link--lift {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.services__link--lift:hover {
  transform: translateX(2px);
  filter: brightness(1.08);
}

/* v22 - orbit hub board (grid-template-areas has no Tailwind/BS utility) */
[data-orbit-board] {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "hub" "a" "b" "c" "d";
    gap: 1.5rem;
    align-items: center;
}

.steps-orbit-hub__hub {
    grid-area: hub;
    width: 6rem;
    height: 6rem;
    margin: 0 auto;
}

.radial-hub__badge {
    width: 3rem;
    height: 3rem;
}

[data-orbit-slot="0"] {
    grid-area: a;
}

[data-orbit-slot="1"] {
    grid-area: b;
}

[data-orbit-slot="2"] {
    grid-area: c;
}

[data-orbit-slot="3"] {
    grid-area: d;
}

@media (min-width: 768px) {
    [data-orbit-board] {
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas:
            "a hub b"
            "c hub d";
    }
}

/* cta particles card — animated dot field */
.cta-particles-card__root {
  position: relative;
  overflow: hidden;
}

.cta-particles-card__particles {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle, var(--tw-primary-500, var(--bs-primary)) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: cta-particles-card__drift 20s linear infinite;
}

@keyframes cta-particles-card__drift {
  from { transform: translateY(0); }
  to { transform: translateY(100px); }
}

