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

.essence-card-hover {
    transition: transform 0.3s ease;
}

.essence-card-hover:hover {
    transform: scale(1.05);
}


.passage-chapter__visual--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.passage-chapter__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-img-compact {
    display: block;
    width: 100%;
    height: 12rem;
    min-height: 12rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 768px) {
    .content-img-compact {
        height: 14rem;
        min-height: 14rem;
    }
}


.prose-bodycopy__bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.prose-bodycopy__title-trail { margin-bottom: 2rem; }

.prose-bodycopy__rule-trail { margin-bottom: 3rem; }

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mosaic-bento-hero__lead {
  min-height: 380px;
}

.mosaic-bento-hero__rail {
  max-width: 20rem;
}

.mosaic-bento-hero__body {
  min-width: 0;
}

.mosaic-bento-hero__icon-tile {
  width: 5rem;
  height: 5rem;
}

.mosaic-bento-hero__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-bento-hero__lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.perks-media-bullets__thumb {
    width: 3.5rem;
    height: 3.5rem;
}

.perks-media-bullets__card {
    transition: transform 0.2s ease;
}

@media (min-width: 640px) {
    .perks-media-bullets__card:hover {
        transform: scale(1.05);
    }
}

/* subscribe v27 — gradient-mesh hero: geometry shared by both CSS frameworks, no colors */
.mailing-hero-mesh__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

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

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

@keyframes mailing-hero-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-0.5rem);
    }
}

.mailing-hero-mesh__blob {
    filter: blur(64px);
    will-change: transform;
}

.mailing-hero-mesh__blob--one {
    top: -2.5rem;
    inset-inline-start: -2.5rem;
    width: 18rem;
    height: 18rem;
}

.mailing-hero-mesh__blob--two {
    bottom: -4rem;
    inset-inline-end: -2.5rem;
    width: 20rem;
    height: 20rem;
}

.mailing-hero-mesh__blob--three {
    top: 33.333333%;
    inset-inline-end: 25%;
    width: 14rem;
    height: 14rem;
}

.mailing-hero-mesh__dot {
    width: 0.75rem;
    height: 0.75rem;
    animation: mailing-hero-float 4s ease-in-out infinite;
}

.mailing-hero-mesh__dot--a {
    top: 2.5rem;
    inset-inline-start: 25%;
    animation-delay: 0s;
}

.mailing-hero-mesh__dot--b {
    bottom: 6rem;
    inset-inline-start: 33.333333%;
    animation-delay: 1.3s;
}

.mailing-hero-mesh__dot--c {
    top: 50%;
    inset-inline-end: 20%;
    animation-delay: 2.6s;
}

.mailing-hero-mesh__title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1;
}

.mailing-hero-mesh__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.mailing-hero-mesh__row {
    flex-direction: column;
    gap: 0.75rem;
}

.mailing-hero-mesh__input,
.mailing-hero-mesh__cta {
    padding: 0.75rem 1rem;
}

.mailing-hero-mesh__cta {
    padding-inline: 1.5rem;
}

.mailing-hero-mesh__thanks {
    margin-top: 2rem;
}

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

@media (min-width: 768px) {
    .mailing-hero-mesh__title {
        font-size: 4.5rem;
    }

    .mailing-hero-mesh__subtitle {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mailing-hero-mesh__dot {
        animation: none;
    }
}

.google-map__iframe {
    width: 100%;
    min-height: 440px;
}

@media (min-width: 768px) {
    .google-map__iframe {
        min-height: 600px;
    }
}

/* iframe-normalized */
.google-map__iframe {
    width: 100%;
    max-width: 100%;
    height: 440px;
    min-height: 440px;
    display: block;
    border: 0;
    box-sizing: border-box;
    vertical-align: bottom;
}

@media (min-width: 768px) {
    .google-map__iframe {
        height: 600px;
        min-height: 600px;
    }
}


