/* intro v29 — Rolls-Royce thread: circle-expand reveal, half-ring, chat alignment, dual-layer parallax */

.intro-thread { min-height: 88vh; }

/* Clip-path circle expand from centre on load */
.intro-thread__reveal {
    animation: intro-thread-expand 900ms ease forwards;
}
@keyframes intro-thread-expand {
    from { clip-path: circle(0% at 50% 50%); }
    to   { clip-path: circle(150% at 50% 50%); }
}

/* Half-ring at the boundary (fixed size — no BS w-N/h-N utility) */
.intro-thread__half {
    width: 16rem;
    height: 8rem;
    opacity: 0.7;
    filter: blur(2px);
}
.intro-thread__sun { width: 6rem; height: 6rem; }
.intro-thread [data-msg] { max-width: 28rem; }

/* Dual-layer parallax offset (set by JS via custom props) */
.intro-thread__island [data-layer] {
    transition: transform 200ms ease-out;
    transform: translate(var(--px, 0), var(--py, 0));
}

/* Chat thread alternate alignment + retro corner tails */
.intro-thread [data-msg] { border-bottom-left-radius: 0.25rem; }
.intro-thread [data-msg]:nth-child(even) {
    margin-left: auto;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .intro-thread__reveal { animation: none; }
    .intro-thread__island [data-layer] { transition: none; }
}

/* features spec-sheet — square icon tile size + horizontal row dividers (layout only, no colors) */

/* BS flex child needs min-width:0 to shrink instead of overflowing on long titles (no BS utility) */
.features-spec__body {
    min-width: 0;
}

.features-spec__tile {
    width: 3rem;
    height: 3rem;
}

.features-spec__row:not(:first-child) {
    border-top-width: 1px;
    border-top-style: solid;
}

/* v25 bento — featured tile layout and image (object-fit: no BS util) */
.perks-bento__grid {
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .perks-bento__grid {
        grid-template-columns: 7fr 5fr;
        grid-template-rows: auto;
    }

    .perks-bento__featured {
        grid-column: 1;
        grid-row: 1;
    }

    .perks-bento__small-grid {
        grid-column: 2;
        grid-row: 1;
    }
}

.perks-bento__featured {
    min-height: 22rem;
}

.perks-bento__featured-img {
    object-fit: cover;
}

/* icon container sizes (w-N h-N has no BS util) */
.perks-bento__featured-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.perks-bento__tile-icon {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
}

