/* intro v16 — Metropolis reel: film-perforation strips, image cover, load stagger, radius morph */

/* Film-perforation edge strips: colour comes from Tailwind bg-* on the element; mask punches holes */
.intro-reel__perf {
    -webkit-mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    z-index: 1;
}

/* Background image fills the band, keeps aspect via object-fit (no BS utility) */
.intro-reel__row {
    min-height: 18rem;
    transition: border-radius 320ms ease;
    opacity: 0;
    animation: intro-reel-rise 520ms ease forwards;
}
.intro-reel__img {
    object-fit: cover;
    object-position: center;
}

/* Border-radius morph on hover */
.intro-reel__row:hover {
    border-radius: 2.25rem 0.5rem 2.25rem 0.5rem;
}

/* Stagger children — 80ms delay each on load */
.intro-reel__row:nth-child(1) { animation-delay: 0ms; }
.intro-reel__row:nth-child(2) { animation-delay: 80ms; }
.intro-reel__row:nth-child(3) { animation-delay: 160ms; }
.intro-reel__row:nth-child(4) { animation-delay: 240ms; }
.intro-reel__row:nth-child(5) { animation-delay: 320ms; }
.intro-reel__row:nth-child(6) { animation-delay: 400ms; }

@keyframes intro-reel-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-reel__row { animation: none; opacity: 1; }
}

@keyframes floatParticle1 {
    0% { 
        transform: translate(-20px, -20px) scale(0.8);
        opacity: 0.3;
    }
    25% { 
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.8;
    }
    50% { 
        transform: translate(30px, 20px) scale(0.9);
        opacity: 0.5;
    }
    75% { 
        transform: translate(-10px, 30px) scale(1.1);
        opacity: 0.7;
    }
    100% { 
        transform: translate(-20px, -20px) scale(0.8);
        opacity: 0.3;
    }
}

@keyframes floatParticle2 {
    0% { 
        transform: translate(15px, 15px) scale(1.1);
        opacity: 0.4;
    }
    30% { 
        transform: translate(-25px, 10px) scale(0.7);
        opacity: 0.8;
    }
    60% { 
        transform: translate(-15px, -25px) scale(1.3);
        opacity: 0.3;
    }
    90% { 
        transform: translate(20px, -15px) scale(0.9);
        opacity: 0.6;
    }
    100% { 
        transform: translate(15px, 15px) scale(1.1);
        opacity: 0.4;
    }
}

@keyframes floatParticle3 {
    0% { 
        transform: translate(0px, 0px) scale(0.8);
        opacity: 0.2;
    }
    25% { 
        transform: translate(30px, -20px) scale(1.2);
        opacity: 0.6;
    }
    50% { 
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.4;
    }
    75% { 
        transform: translate(-30px, -10px) scale(1.1);
        opacity: 0.7;
    }
    100% { 
        transform: translate(0px, 0px) scale(0.8);
        opacity: 0.2;
    }
}

@keyframes floatParticle4 {
    0% { 
        transform: translate(-10px, -10px) scale(1.3);
        opacity: 0.5;
    }
    40% { 
        transform: translate(25px, 15px) scale(0.6);
        opacity: 0.8;
    }
    80% { 
        transform: translate(-15px, 25px) scale(1.4);
        opacity: 0.3;
    }
    100% { 
        transform: translate(-10px, -10px) scale(1.3);
        opacity: 0.5;
    }
}

@keyframes floatParticle5 {
    0% { 
        transform: translate(20px, 20px) scale(0.9);
        opacity: 0.3;
    }
    35% { 
        transform: translate(-30px, 20px) scale(1.3);
        opacity: 0.7;
    }
    70% { 
        transform: translate(20px, -30px) scale(0.7);
        opacity: 0.4;
    }
    100% { 
        transform: translate(20px, 20px) scale(0.9);
        opacity: 0.3;
    }
}

@keyframes floatParticle6 {
    0% { 
        transform: translate(-15px, -15px) scale(1.0);
        opacity: 0.4;
    }
    50% { 
        transform: translate(20px, -25px) scale(0.8);
        opacity: 0.8;
    }
    100% { 
        transform: translate(-15px, -15px) scale(1.0);
        opacity: 0.4;
    }
}

.profile-float-icon {
    top: -3rem;
    right: -2rem;
}

@keyframes bounce-kf {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

.profile-bounce {
    animation: bounce-kf 1s infinite;
}

.profile-card-hover,
.profile-icon-hover,
.profile-copy-hover,
.profile-underline,
.profile-cta-hover {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.profile-feature-group:hover .profile-card-hover {
    transform: scale(1.05);
}

.profile-feature-group:hover .profile-overlay-hover {
    opacity: 0.2 !important;
}

.profile-feature-group:hover .profile-icon-hover {
    transform: scale(1.1);
}

.profile-feature-group:hover .profile-copy-hover {
    transform: translateY(0.25rem);
}

.profile-underline {
    height: 0.25rem;
    transform: scaleX(0);
    transform-origin: center;
}

.profile-description-group:hover .profile-underline {
    transform: scaleX(1);
}

@keyframes ping-kf {
    75%, 100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.profile-ping {
    animation: ping-kf 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.profile-cta-hover:hover {
    transform: scale(1.05);
}

.profile-particle-1 {
    top: 10%;
    left: 15%;
    animation: floatParticle1 8s ease-in-out infinite;
}

.profile-particle-2 {
    top: 20%;
    right: 20%;
    animation: floatParticle2 10s ease-in-out infinite;
    animation-delay: 1s;
}

.profile-particle-3 {
    top: 60%;
    left: 10%;
    animation: floatParticle3 12s ease-in-out infinite;
    animation-delay: 3s;
}

.profile-particle-4 {
    top: 80%;
    right: 15%;
    animation: floatParticle4 7s ease-in-out infinite;
    animation-delay: 2s;
}

.profile-particle-5 {
    top: 40%;
    left: 80%;
    animation: floatParticle5 9s ease-in-out infinite;
    animation-delay: 4s;
}

.profile-particle-6 {
    top: 70%;
    left: 60%;
    animation: floatParticle6 11s ease-in-out infinite;
    animation-delay: 1.5s;
}

.profile-sq-16 { width: 4rem;    height: 4rem;    flex-shrink: 0; }
.profile-sq-12 { width: 3rem;    height: 3rem;    flex-shrink: 0; }

.neon-circuit-timeline__circuit-bg {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, currentColor 39px, currentColor 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, currentColor 39px, currentColor 40px);
}

@keyframes neon-circuit-timeline__glow-pulse {
    0%, 100% { box-shadow: 0 0 4px 2px currentColor, 0 0 12px 4px currentColor; opacity: 1; }
    50% { box-shadow: 0 0 8px 4px currentColor, 0 0 24px 8px currentColor; opacity: 0.7; }
}

.neon-circuit-timeline__node-glow {
    animation: neon-circuit-timeline__glow-pulse 2.5s ease-in-out infinite;
}

@keyframes neon-circuit-timeline__ring-expand {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.4); opacity: 0; }
}

.neon-circuit-timeline__ring {
    animation: neon-circuit-timeline__ring-expand 2.5s ease-in-out infinite;
}

.neon-circuit-timeline__decor-left {
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
    width: 16rem;
    height: 16rem;
}

.neon-circuit-timeline__decor-right {
    top: 50%;
    right: 25%;
    transform: translateY(-50%);
    width: 16rem;
    height: 16rem;
}

.neon-circuit-timeline__accent-line {
    height: 5rem;
    width: 1px;
}

.neon-circuit-timeline__node-wrap {
    z-index: 10;
}

.neon-circuit-timeline__node {
    width: 1rem;
    height: 1rem;
}

.neon-circuit-timeline__ring-size {
    width: 2rem;
    height: 2rem;
}

.neon-circuit-timeline__card-width {
    max-width: 11rem;
}

@media (min-width: 768px) {
    .neon-circuit-timeline__item--upper .neon-circuit-timeline__box,
    .neon-circuit-timeline__accent-line--first {
        order: -1;
    }

    .neon-circuit-timeline__item--lower .neon-circuit-timeline__box,
    .neon-circuit-timeline__accent-line--last {
        order: 1;
    }
}

/* values v25 - tabbed value categories */
.values-tabbed__tab {
    font-weight: 700;
    border-width: 2px;
    padding: 0.75rem 1.5rem;
}

.values-tabbed__tab.is-active {
    font-weight: 800;
    border-width: 3px;
}

.values-tabbed__icon-box {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

/* team v28 — neon mosaic tiles + diagonal brand marquees */
.team-mosaic__diag-scene {
  overflow: hidden;
}

.team-mosaic__diag-strip {
  position: absolute;
  left: -25%;
  width: 150%;
  overflow: hidden;
  pointer-events: none;
}

.team-mosaic__diag-strip--a {
  top: 12%;
  transform: rotate(-14deg);
}

.team-mosaic__diag-strip--b {
  top: 36%;
  transform: rotate(10deg);
}

.team-mosaic__diag-strip--c {
  top: 58%;
  transform: rotate(-8deg);
}

.team-mosaic__diag-strip--d {
  top: 78%;
  transform: rotate(16deg);
}

.team-mosaic__diag-rail {
  display: inline-flex;
  will-change: transform;
}

.team-mosaic__diag-strip--a .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run 38s linear infinite;
}

.team-mosaic__diag-strip--b .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run-rev 32s linear infinite;
}

.team-mosaic__diag-strip--c .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run 44s linear infinite;
  animation-delay: 4s;
}

.team-mosaic__diag-strip--d .team-mosaic__diag-rail {
  animation: team-mosaic-diag-run-rev 36s linear infinite;
  animation-delay: 2s;
}

.team-mosaic__diag-chunk {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  line-height: 1;
  flex-shrink: 0;
}

@keyframes team-mosaic-diag-run {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes team-mosaic-diag-run-rev {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.team-mosaic__item {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
}

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

.team-mosaic__shade {
  pointer-events: none;
}

.team-mosaic__glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--bs-primary), transparent, var(--bs-primary));
  opacity: 0;
  z-index: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.team-mosaic__item:hover .team-mosaic__glow {
  opacity: 0.35;
  filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .team-mosaic__diag-rail {
    animation: none;
  }
}

/* quote v22 — filmstrip: VHS scanlines, rain, clouds, ID-badge cards, scroll reveal */

.quote-filmstrip__cloud {
    width: 14rem;
    height: 8rem;
    filter: blur(48px);
}
.quote-filmstrip__cloud--a {
    top: 10%;
    left: -4rem;
}
.quote-filmstrip__cloud--b {
    bottom: 8%;
    right: -3rem;
}

.quote-filmstrip__drop {
    width: 1px;
    animation: quoteFilmstripRain 4.5s linear infinite;
}
.quote-filmstrip__drop--1 { left: 12%; animation-delay: 0s; }
.quote-filmstrip__drop--2 { left: 28%; animation-delay: 0.8s; }
.quote-filmstrip__drop--3 { left: 44%; animation-delay: 1.6s; }
.quote-filmstrip__drop--4 { left: 60%; animation-delay: 0.4s; }
.quote-filmstrip__drop--5 { left: 76%; animation-delay: 2.1s; }
.quote-filmstrip__drop--6 { left: 88%; animation-delay: 1.2s; }
@keyframes quoteFilmstripRain {
    0% { transform: translateY(-120%); opacity: 0; }
    15% { opacity: 0.6; }
    100% { transform: translateY(120vh); opacity: 0; }
}

.quote-filmstrip__divider {
    width: 3rem;
    height: 0.25rem;
    margin-bottom: 1rem;
}

.quote-filmstrip__title {
    font-variant: small-caps;
}

.quote-filmstrip__panel {
    scroll-snap-type: x mandatory;
    min-width: 0;
}

@media (min-width: 992px) {
    .quote-filmstrip__aside {
        width: 18rem;
        max-width: 18rem;
    }
    .quote-filmstrip__panel {
        flex: 1 1 0;
        width: 0;
        max-width: 100%;
    }
}

.quote-filmstrip__track {
    width: max-content;
    min-width: 100%;
}

.quote-filmstrip__reveal {
    display: flex;
    flex-direction: column;
    min-height: 22rem;
    opacity: 1;
    transform: none;
    transition: opacity 600ms ease, transform 600ms ease;
}
.quote-filmstrip__reveal--left:not(.is-visible) {
    opacity: 0;
    transform: translateX(-2rem);
}
.quote-filmstrip__reveal--right:not(.is-visible) {
    opacity: 0;
    transform: translateX(2rem);
}
.quote-filmstrip__reveal--center:not(.is-visible) {
    opacity: 0;
    transform: translateY(1.5rem);
}
.quote-filmstrip__reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.quote-filmstrip__card--focal {
    width: min(85vw, 22rem);
    min-height: 26rem;
}
.quote-filmstrip__card--support {
    width: min(72vw, 18rem);
    min-height: 22rem;
}

.quote-filmstrip__media {
    position: relative;
    flex: 1 1 auto;
    min-height: 14rem;
    overflow: hidden;
}
.quote-filmstrip__card--focal .quote-filmstrip__media {
    min-height: 16rem;
}

.quote-filmstrip__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 14rem;
}

.quote-filmstrip__clamp {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quote-filmstrip__meta-quote {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quote-filmstrip__sprockets {
    pointer-events: none;
}
.quote-filmstrip__sprockets--top {
    top: 0.35rem;
}
.quote-filmstrip__sprockets--bottom {
    bottom: 3.25rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-filmstrip-root [role="listitem"]:hover,
    .quote-filmstrip-root article:hover,
    .quote-filmstrip-root [class*="quote-filmstrip__card"]:hover,
    .quote-filmstrip-root .quote-filmstrip__book:hover,
    .quote-filmstrip-root .quote-filmstrip__step:hover,
    .quote-filmstrip-root .quote-filmstrip__index-card:hover,
    .quote-filmstrip-root .quote-filmstrip__pill:hover,
    .quote-filmstrip-root .quote-filmstrip__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-filmstrip-root [role="listitem"],
.quote-filmstrip-root article,
.quote-filmstrip-root [class*="quote-filmstrip__card"],
.quote-filmstrip-root .quote-filmstrip__book,
.quote-filmstrip-root .quote-filmstrip__step,
.quote-filmstrip-root .quote-filmstrip__index-card,
.quote-filmstrip-root .quote-filmstrip__pill {
    transition: transform 200ms ease;
}

.quote-filmstrip-root a:focus-visible,
.quote-filmstrip-root button:focus-visible,
.quote-filmstrip-root [tabindex="0"]:focus-visible,
.quote-filmstrip-root input:focus-visible,
.quote-filmstrip-root summary:focus-visible,
.quote-filmstrip-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-filmstrip-root button:hover,
    .quote-filmstrip-root a:hover,
    .quote-filmstrip-root summary:hover {
        opacity: 0.92;
    }
}

