/* intro v22 — Lavazza brutalist: blueprint grid, aurora sweep, outlined heading, progressive stagger */

/* Blueprint engineering-paper grid (colour from Tailwind text-*, lines via currentColor) */
.intro-blue__grid {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 28px),
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 28px);
    opacity: 0.16;
}

/* Aurora wave sweep horizontal */
.intro-blue__aurora {
    background-size: 200% 100%;
    opacity: 0.3;
    animation: intro-blue-aurora 7s ease-in-out infinite;
}
@keyframes intro-blue-aurora {
    0%, 100% { background-position: 0% 0%; }
    50%      { background-position: 100% 0%; }
}

/* Text-stroke outlined heading (hollow fill, stroke = the element's Tailwind colour) */
.intro-blue__title {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px currentColor;
    text-stroke: 2px currentColor;
    letter-spacing: -0.02em;
}

/* Progressive stagger reveal — pure CSS on the reliable [data-lane-item] attribute; always ends visible */
@keyframes intro-blue-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}
.intro-blue [data-lane-item] { animation: intro-blue-rise 500ms ease both; }
.intro-blue [data-lane-item]:nth-child(2) { animation-delay: 120ms; }
.intro-blue [data-lane-item]:nth-child(3) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    .intro-blue__aurora { animation: none; }
    .intro-blue [data-lane-item] { animation: none; }
}

/* process tron — grid bg pattern, card glow line, hover + active state */
.process-tron__grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 3rem 3rem;
}

.process-tron__card {
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-tron__card-hov:hover,
.process-tron__card-hov:focus-within,
.process-tron__card.is-active {
    transform: translateY(-0.35rem);
    box-shadow: var(--bs-box-shadow-lg);
    border-color: var(--bs-primary);
}

.process-tron__glow-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bs-primary);
    opacity: 0;
    transition: opacity 220ms ease;
}

.process-tron__card-hov:hover .process-tron__glow-line,
.process-tron__card-hov:focus-within .process-tron__glow-line,
.process-tron__card.is-active .process-tron__glow-line {
    opacity: 1;
}

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

    .process-tron__card-hov:hover,
    .process-tron__card-hov:focus-within,
    .process-tron__card.is-active {
        transform: none;
    }
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-cryptic {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.whyus-cryptic__bleed {
    bottom: -6rem;
    inset-inline-end: -6rem;
    width: 24rem;
    height: 24rem;
    opacity: 0.4;
    filter: blur(64px);
}

.whyus-cryptic__head {
    margin-bottom: 3rem;
}

.whyus-cryptic__overline,
.whyus-cryptic__num,
.whyus-cryptic__chip,
.whyus-cryptic__cta-icon {
    font-size: 0.75rem;
}

.whyus-cryptic__overline {
    letter-spacing: 0.1em;
}

.whyus-cryptic__chip,
.whyus-cryptic__cta {
    letter-spacing: 0.025em;
}

.whyus-cryptic__title {
    font-size: 1.875rem;
}

.whyus-cryptic__lead {
    font-size: 1rem;
}

.whyus-cryptic__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.whyus-cryptic__card-title {
    font-size: 1.125rem;
}

.whyus-cryptic__card-desc {
    font-size: 0.875rem;
}

.whyus-cryptic__cta {
    transition: transform 150ms ease;
}

/* hover — `:where()` keeps specificity at 0-1-0 so Tailwind's own hover: utilities win there */
:where(.whyus-cryptic__cta):hover {
    transform: scale(1.05);
}

:where(.whyus-cryptic__card):hover {
    box-shadow: 0 0 0 2px var(--bs-primary-border-subtle);
}

@media (min-width: 768px) {
    .whyus-cryptic {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .whyus-cryptic__head,
    .whyus-cryptic__grid {
        margin-bottom: 4rem;
    }

    .whyus-cryptic__title {
        font-size: 2.25rem;
    }

    .whyus-cryptic__card-desc {
        font-size: 1rem;
    }

    .whyus-cryptic__lead {
        font-size: 1.125rem;
    }

    .whyus-cryptic__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .whyus-cryptic__title {
        font-size: 3rem;
    }

    .whyus-cryptic__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* whyus v27 — architectural benefit card grid */

.whyus-cryptic__decor-lines {
    background-image:
        repeating-linear-gradient(90deg, currentColor 0, currentColor 1px, transparent 1px, transparent 96px),
        repeating-linear-gradient(0deg, currentColor 0, currentColor 1px, transparent 1px, transparent 96px);
    opacity: 0.05;
}

.whyus-cryptic__card {
    opacity: 0;
    transform: translateY(0.75rem);
    transition: opacity 600ms ease, transform 600ms ease, box-shadow 150ms ease;
}

.whyus-cryptic__card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.whyus-cryptic__card:nth-child(1) { transition-delay: 0.05s; }
.whyus-cryptic__card:nth-child(2) { transition-delay: 0.1s; }
.whyus-cryptic__card:nth-child(3) { transition-delay: 0.15s; }
.whyus-cryptic__card:nth-child(4) { transition-delay: 0.2s; }
.whyus-cryptic__card:nth-child(5) { transition-delay: 0.25s; }
.whyus-cryptic__card:nth-child(6) { transition-delay: 0.3s; }

.whyus-cryptic__word {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.6em);
    transition: opacity 550ms ease, transform 550ms ease;
    will-change: transform, opacity;
}

.whyus-cryptic__word.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.whyus-cryptic__word:nth-child(1) { transition-delay: 0ms; }
.whyus-cryptic__word:nth-child(2) { transition-delay: 70ms; }
.whyus-cryptic__word:nth-child(3) { transition-delay: 140ms; }
.whyus-cryptic__word:nth-child(4) { transition-delay: 210ms; }
.whyus-cryptic__word:nth-child(5) { transition-delay: 280ms; }
.whyus-cryptic__word:nth-child(6) { transition-delay: 350ms; }
.whyus-cryptic__word:nth-child(7) { transition-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
    .whyus-cryptic__card,
    .whyus-cryptic__word {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@keyframes notion-table-timeline__row-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.notion-table-timeline__row-visible {
    animation: notion-table-timeline__row-in 0.3s ease forwards;
}

.notion-table-timeline__decor-corner {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    width: 8rem;
    height: 8rem;
}

.notion-table-timeline__cell-width {
    max-width: 24rem;
}

.notion-table-timeline__line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

