.primer-icon-hover {
    transition: transform 0.3s ease;
}

.primer-group:hover .primer-icon-hover {
    transform: scale(1.05);
}

.primer-sq-16 { width: 4rem;    height: 4rem;    flex-shrink: 0; }

.dashboard-metrics-timeline__grid-lines {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, currentColor 39px, currentColor 40px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, currentColor 79px, currentColor 80px);
}

@keyframes dashboard-metrics-timeline__pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.dashboard-metrics-timeline__pulse {
    width: 0.5rem;
    height: 0.5rem;
    animation: dashboard-metrics-timeline__pulse 2s ease infinite;
}

.dashboard-metrics-timeline__watermark {
    font-size: clamp(60px, 12vw, 140px);
    opacity: 0.03;
}

.dashboard-metrics-timeline__icon {
    width: 2rem;
    height: 2rem;
}

.dashboard-metrics-timeline__metric {
    font-size: 2rem;
}

.dashboard-metrics-timeline__bar {
    height: 4px;
}

.dashboard-metrics-timeline__progress {
    height: 4px;
    width: var(--dashboard-metrics-timeline__width, 0%);
}

.dashboard-metrics-timeline__index-dot {
    width: 6px;
    height: 6px;
}

@keyframes dashboard-metrics-timeline__count {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dashboard-metrics-timeline__line {
    height: 1px;
}

/* Bootstrap branch: explicit grid + gap (row gutters often collapse with overflow / theme resets) */
.dashboard-metrics-timeline__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .dashboard-metrics-timeline__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dashboard-metrics-timeline__bs-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.25rem;
    }
}

.dashboard-metrics-timeline__min-shrink {
  min-width: 0;
}

.values-circle-block__card {
    max-width: 24rem;
}

.values-circle-block__item {
    max-width: 24rem;
}

.values-circle-block__thumb {
    width: 5rem;
    height: 5rem;
}

.float-jitter-grid__portrait {
    width: 7rem;
    height: 7rem;
}

@media (min-width: 768px) {
    .float-jitter-grid__portrait {
        width: 8rem;
        height: 8rem;
    }
}

.float-jitter-grid__beacon {
    width: 1.5rem;
    height: 1.5rem;
}

.float-jitter-grid__tile:nth-child(4n+2) {
    transform: translateY(1rem) translateX(0.5rem);
}

.float-jitter-grid__tile:nth-child(4n+3) {
    transform: translateY(2rem) translateX(-0.5rem);
}

.float-jitter-grid__tile:nth-child(4n+4) {
    transform: translateY(1rem) translateX(1rem);
}

/* v26 — morse-code ornament: fixed dot/dash sizing outside the Tailwind spacing scale */
.whyus-morse__mark {
    display: inline-block;
    flex-shrink: 0;
}

.whyus-morse__mark--dot {
    width: 0.375rem;
    height: 0.375rem;
}

.whyus-morse__mark--dash {
    width: 1.5rem;
    height: 0.3125rem;
}

/* v26 — Art Nouveau corner flourish: subtle organic rotation */
.whyus-flourish {
    transform: rotate(-6deg);
}

/* v26 — letterpress heading: tightened, print-like leading (color/weight handled by Tailwind classes) */
.whyus-letterpress__heading {
    line-height: 1.15;
    letter-spacing: 0.01em;
}

/* v26 — spring/bounce entrance, plays once on load */
@keyframes whyus-spring-in {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    60% {
        opacity: 1;
        transform: translateY(-6px) scale(1.015);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.whyus-spring-in {
    animation: whyus-spring-in 900ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.whyus-spring-in--delay {
    animation-delay: 160ms;
}

.whyus-highlight-card {
    animation: whyus-spring-in 700ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.whyus-highlight-card:nth-child(1) { animation-delay: 0.1s; }
.whyus-highlight-card:nth-child(2) { animation-delay: 0.2s; }
.whyus-highlight-card:nth-child(3) { animation-delay: 0.3s; }

/* v26 — ripple-from-cursor effect on comparison cells (color applied via Tailwind class in script.js) */
.whyus-ripple {
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: whyus-ripple 600ms ease-out forwards;
}

@keyframes whyus-ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(9);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-spring-in,
    .whyus-ripple,
    .whyus-highlight-card {
        animation: none;
    }
}

