/* 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; }
}

.content-trio-showcase__image {
    display: block;
    width: 100%;
    height: 10rem;
    object-fit: cover;
}

.content-trio-showcase__image--tall {
    height: 14rem;
}

.content-trio-showcase__image--short {
    height: 8rem;
}

.content-trio-showcase__card-lift {
    transition: transform 180ms ease;
}

.content-trio-showcase__card-lift:hover {
    transform: translateY(-0.25rem);
}

.content-trio-showcase__float {
    animation: content-trio-showcase-float 7s ease-in-out infinite;
}

.content-trio-showcase__rail {
    width: 100%;
    height: 0.25rem;
}

.content-trio-showcase__thumb {
    width: 7rem;
    height: 5rem;
}

.content-trio-showcase__badge {
    width: 2.5rem;
    height: 2.5rem;
}

@media (min-width: 768px) {
    .content-trio-showcase__rail {
        width: 0.25rem;
        height: auto;
    }
}

@keyframes content-trio-showcase-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(0.5rem); }
}

.content-trio-showcase__dot {
    width: 0.5rem;
    height: 0.5rem;
}

.content-trio-showcase__float {
    width: 6rem;
    height: 6rem;
}

@media (min-width: 768px) {
    .content-trio-showcase__offset {
        margin-top: 2.5rem;
    }
}

.tips-compact__thumb {
    width: 3rem;
    height: 3rem;
}

.tips-compact__thumb--xs {
    width: 1.5rem;
    height: 1.5rem;
}

.tips-compact__min-shrink {
    min-width: 0;
}

.glossary-v2-cluster__card {
    width: 100%;
}

@media (min-width: 992px) {
    .glossary-v2-cluster__card {
        width: calc(50% - 0.75rem); /* For gap-4 (1.5rem) -> half is 0.75rem */
    }
}

/* faq v25 — three-column numbered minimal trio */
.faq-trio__index {
  font-weight: 200;
  line-height: 1;
}

.faq-trio__headline {
  letter-spacing: 0.2em;
}

.faq-trio__lead {
  max-width: 18rem;
}

@media (min-width: 768px) {
  .faq-trio__lead {
    max-width: 20rem;
  }
}

/* subscribe v25 — overlapping avatar stack: geometry shared by both CSS frameworks, no colors */
.mailing-avatar-stack__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-2xl {
    max-width: 42rem !important;
}

.mxw-md {
    max-width: 28rem !important;
}

.mailing-avatar-stack__item {
    width: 4rem;
    height: 4rem;
    margin-left: -1rem;
    flex-shrink: 0;
}

.mailing-avatar-stack__item:first-child {
    margin-left: 0;
}

.mailing-avatar-stack__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.mailing-avatar-stack__row {
    flex-direction: column;
    gap: 0.75rem;
}

.mailing-avatar-stack__input,
.mailing-avatar-stack__cta {
    padding: 0.75rem 1rem;
}

.mailing-avatar-stack__cta {
    padding-inline: 1.5rem;
}

@media (min-width: 640px) {
    .mailing-avatar-stack__row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .mailing-avatar-stack__title {
        font-size: 2.25rem;
    }
}

