/* 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__panel--lift {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.services__panel--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

@media (min-width: 640px) {
  .services__panel--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift {
  transition: filter 0.3s ease, transform 0.3s ease;
}

@media (min-width: 640px) {
  .services__cta--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift:hover {
  filter: brightness(0.92);
}

/* Steps v29 — Split-Screen Steps with Sticky Icon Panel and Scrollable List */

/* Shared split-screen grid: sticky rail (narrow) + scrollable list (wide).
   No Bootstrap equivalent for an arbitrary grid-template-columns split,
   so this single custom class drives the layout in both TW and BS renders. */
.twin-pane__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .twin-pane__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    }
}

/* Sticky icon/intro rail — position:sticky is standard CSS, framework-agnostic */
@media (min-width: 992px) {
    .twin-pane__rail {
        position: sticky;
        top: 6rem;
        align-self: flex-start;
    }
}

/* Fixed-size icon badge — no Bootstrap utility matches this exact box size */
.twin-pane__icon-box {
    width: 3rem;
    height: 3rem;
}

/* Remove trailing divider/spacing on the last step item (no BS :last-child utility) */
.twin-pane__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.stats-ticker__title { letter-spacing: -0.02em; }
.stats-ticker__halo { width: 30rem; height: 30rem; top: -14rem !important; right: -10rem !important; filter: blur(60px); opacity: .6; }
.stats-ticker__live { width: .5rem; height: .5rem; flex-shrink: 0; animation: stats-ticker-blink 1.6s ease-in-out infinite; }

.stats-ticker__cell { opacity: 0; transform: translateY(1.25rem); transition: opacity 600ms ease, transform 600ms ease; }
.stats-ticker__band.is-visible .stats-ticker__cell { opacity: 1; transform: none; }
@media (min-width: 992px) {
    .stats-ticker__cell + .stats-ticker__cell { border-left-width: 1px; border-left-style: solid; }
}

.stats-ticker__odo { display: inline-flex; overflow: hidden; height: 1.25em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.stats-ticker__digit { display: inline-block; height: 1.25em; overflow: hidden; }
.stats-ticker__reel { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1800ms cubic-bezier(.2, .9, .25, 1); }
/* each cell is taller than the glyph box so neighbouring digits never bleed into the window */
.stats-ticker__reel > span { display: block; height: 1.25em; line-height: 1.25; text-align: center; }
.stats-ticker__suffix { margin-left: .125rem; font-size: .6em; min-width: 0; overflow-wrap: anywhere; }
/* the odometer must never shrink: a long unit next to it used to squeeze the digit windows so neighbouring glyphs overlapped */
.stats-ticker__odo, .stats-ticker__digit { flex-shrink: 0; }

.stats-ticker__cols { display: block; height: 4rem; overflow: visible; }
.stats-ticker__cols rect { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 900ms cubic-bezier(.34, 1.3, .64, 1); }
.stats-ticker__band.is-visible .stats-ticker__cols rect { transform: scaleY(1); }

@keyframes stats-ticker-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

@media (prefers-reduced-motion: reduce) {
    .stats-ticker__cell, .stats-ticker__reel, .stats-ticker__cols rect { transition: none; opacity: 1; transform: none; }
    .stats-ticker__live { animation: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.stats-ticker[hidden], .stats-ticker [hidden], .stats-ticker .hidden.d-none { display: none !important; }

/* a long unit suffix moves under the counter instead of being squeezed into a few pixels */
.stats-ticker strong:has(> .stats-ticker__odo) { flex-wrap: wrap; row-gap: .25rem; max-width: 100%; }
.stats-ticker__suffix { max-width: 100%; line-height: 1.1; }
.stats-ticker { overflow-wrap: break-word; }

