/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.values-float-card__item {
    min-width: 280px;
    max-width: 360px;
}

.values-float-card__thumb {
    margin-top: -2.5rem;
    width: 5rem;
    height: 5rem;
}

.staff-zigzag-timeline__stage {
    height: 20rem;
}

/* whyus v17 — bookshelf pill grid (layout/animation only, no colors) */

/* shelf row spacing — ultra-tight external gaps */
.whyus-shelf-pills__shelf {
    position: relative;
}

.whyus-shelf-pills__shelf + .whyus-shelf-pills__shelf {
    margin-top: 0.25rem;
}

.whyus-shelf-pills__shelf--last {
    margin-bottom: 0;
    border-bottom-width: 0;
}

/* pill — magnetic pull toward cursor, driven by JS-set custom properties */
.whyus-shelf-pills__pill {
    --tilt-x: 0;
    --tilt-y: 0;
    will-change: transform;
    transform: translate(calc(var(--tilt-x) * 1px), calc(var(--tilt-y) * 1px));
    transition: transform 150ms ease-out;
}

.whyus-shelf-pills__items {
    display: flex;
    flex-direction: column;
}

.whyus-shelf-pills__pill-body {
    min-width: 0;
}

/* diamond decor shapes */
.whyus-shelf-pills__diamond {
    position: absolute;
    transform: rotate(45deg);
}

.whyus-shelf-pills__diamond--sm {
    width: 0.5rem;
    height: 0.5rem;
}

.whyus-shelf-pills__diamond--md {
    width: 0.875rem;
    height: 0.875rem;
}

.whyus-shelf-pills__diamond--lg {
    width: 1.25rem;
    height: 1.25rem;
}

/* lightning flash — brief full-bleed opacity spike, no color set here */
.whyus-shelf-pills__flash {
    animation: whyus-shelf-pills-flash 7s ease-in-out infinite;
}

@keyframes whyus-shelf-pills-flash {
    0%, 90%, 100% {
        opacity: 0;
    }
    93% {
        opacity: 0.15;
    }
    96% {
        opacity: 0;
    }
}

/* variable font-weight axis animation on the heading */
.whyus-shelf-pills__heading-weight {
    animation: whyus-shelf-pills-weight 5s ease-in-out infinite alternate;
}

@keyframes whyus-shelf-pills-weight {
    from {
        font-weight: 400;
    }
    to {
        font-weight: 800;
    }
}

/* CTA is the only element with an entrance animation */
.whyus-shelf-pills__cta {
    animation: whyus-shelf-pills-cta-in 0.8s ease-out 0.3s both;
}

@keyframes whyus-shelf-pills-cta-in {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-staircase__step-num {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  flex-shrink: 0;
}

.cta-staircase__stairs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cta-staircase__step {
  transform: translateX(calc(var(--step, 0) * 20px));
  animation: cta-staircase__fade 600ms ease both;
  animation-delay: calc(var(--step, 0) * 100ms);
}

@keyframes cta-staircase__fade {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(calc(var(--step, 0) * 20px)); }
}

@media (max-width: 768px) {
  .cta-staircase__step {
    transform: translateX(0);
  }
}

