/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.compact-manifesto-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

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

@media (min-width: 1024px) {
    .compact-manifesto-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Badge: w-12 = 3rem — align with v4 (bs had top-0) */
.philosophy-v5-badge-decor {
    top: -2.25rem;
}

.philosophy-compact-badge {
    width: 3rem;
    height: 3rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

.values-timeline-row__thumb {
    width: 5rem;
    height: 5rem;
}

.values-timeline-row__badge {
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
}

.values-timeline-row__line {
    left: 2.5rem;
    top: 0;
    width: 2px;
    height: 2rem;
}

/* process glassmorphism — fog blobs, backdrop blur, rune decor, num sizing */
.process-glass__fog {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.process-glass__fog::before {
    content: '';
    position: absolute;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    filter: blur(5rem);
    opacity: 0.1;
    top: -10rem;
    left: -5rem;
    background: var(--bs-primary);
}

.process-glass__fog::after {
    content: '';
    position: absolute;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    filter: blur(5rem);
    opacity: 0.07;
    bottom: -8rem;
    right: -5rem;
    background: var(--bs-primary);
}

.process-glass__card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-glass__card-hov:hover,
.process-glass__card-hov:focus-within {
    transform: translateY(-0.35rem);
    box-shadow: var(--bs-box-shadow-lg);
}

.process-glass__detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 280ms ease, opacity 220ms ease, margin-top 220ms ease;
}

.process-glass__card-hov:hover .process-glass__detail,
.process-glass__card-hov:focus-within .process-glass__detail {
    max-height: 12rem;
    opacity: 1;
    margin-top: 0.25rem;
}

.process-glass__rune {
    position: absolute;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.04;
    bottom: -0.5rem;
    right: 1rem;
    pointer-events: none;
    user-select: none;
}

.process-glass__num {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .process-glass__card,
    .process-glass__detail {
        transition: none;
    }

    .process-glass__card-hov:hover,
    .process-glass__card-hov:focus-within {
        transform: none;
    }

    .process-glass__detail {
        max-height: none;
        opacity: 1;
        overflow: visible;
    }
}

.tips-numbered__card {
    max-width: 24rem;
}

.tips-numbered__thumb {
    width: 4rem;
    height: 4rem;
}

