/* 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; }
}

.horizontal-snap-timeline__dot-grid {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 24px 24px;
}

.horizontal-snap-timeline__no-scrollbar::-webkit-scrollbar {
    display: none;
}

.horizontal-snap-timeline__no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.horizontal-snap-timeline__dot--active {
    width: 24px;
    height: 0.5rem;
    filter: brightness(1.05);
}

.horizontal-snap-timeline__dot--idle {
    width: 8px;
    height: 0.5rem;
    filter: brightness(0.55);
}

.horizontal-snap-timeline__nav {
    width: 2.5rem;
    height: 2.5rem;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-1rem);
}

.horizontal-snap-timeline__nav--next {
    left: auto;
    right: 0;
    transform: translateY(-50%) translateX(1rem);
}

.horizontal-snap-timeline__icon {
    width: 2.5rem;
    height: 2.5rem;
}

.horizontal-snap-timeline__track {
    list-style: none;
    padding-left: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    overflow-x: auto;
    overflow-y: visible;
}

.horizontal-snap-timeline__slide {
    width: 18rem;
    overflow: visible;
    padding-top: 0.25rem;
}

.horizontal-snap-timeline__card {
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.horizontal-snap-timeline__card:hover {
    transform: translateY(-0.25rem);
}

@media (min-width: 768px) {
    .horizontal-snap-timeline__slide {
        width: 20rem;
    }
}

.horizontal-snap-timeline__bar {
    height: 2px;
}

.horizontal-snap-timeline__progress {
    height: 2px;
    width: var(--horizontal-snap-timeline__progress, 0%);
}

[data-accordion-icon].is-open {
    transform: rotate(45deg);
}

/* team v24 — sidebar navigation */
.team-sidebar__nav-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 150ms ease;
}

.team-sidebar__nav-btn.is-active {
  background-color: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-weight: 600;
}

.team-sidebar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-sidebar__panel {
  animation: fade-in 300ms ease;
}

.team-sidebar__panel.hidden {
  display: none !important;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}


.rally-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.rally-beacon__inner {
    max-width: 56rem;
}

@keyframes rally-beacon-pin-blink-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.rally-beacon__pin--blink {
    animation: rally-beacon-pin-blink-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

.rally-beacon__action--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

@keyframes rally-beacon-action-hop-cycle {
    0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
.rally-beacon__action--hop {
    animation: rally-beacon-action-hop-cycle 1s infinite;
}

