/* halo-crest — layout, sizes, motion only (colours live in the template) */

.halo-crest__glow {
    width: 60rem;
    height: 36rem;
    transform: translate(-50%, -30%);
    filter: blur(100px);
}

.halo-crest__haze {
    width: 70rem;
    height: 22rem;
    transform: translate(-50%, 55%);
    filter: blur(110px);
}

.halo-crest__title {
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.halo-crest__eyebrow {
    letter-spacing: 0.18em;
}

/* --- arc + bubbles --- */

.halo-crest__orbit {
    left: 50%;
    bottom: 6.5rem;
    width: 32.5rem;
    height: 32.5rem;
    transform: translateX(-50%);
}

.halo-crest__stage {
    height: 13rem;
}

/* mobile: keep only the lower half of the ring so it never crosses the copy */
.halo-crest__ring {
    clip-path: inset(50% 0 0 0);
}

.halo-crest__slot {
    width: 3.5rem;
    height: 3.5rem;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 100%;
}

/* positions on a radius of 55.5% of the orbit box (fixed angles, pre-computed) */
.halo-crest__slot--1  { left: 8.76%;   top: 87.14%; }
.halo-crest__slot--2  { left: 18.17%;  top: 95.46%; }
.halo-crest__slot--3  { left: 30.11%;  top: 101.81%; }
.halo-crest__slot--4  { left: 44.20%;  top: 105.20%; }
.halo-crest__slot--5  { left: 60.59%;  top: 104.48%; }
.halo-crest__slot--6  { left: 75.20%;  top: 99.45%; }
.halo-crest__slot--7  { left: 87.14%;  top: 91.24%; }
.halo-crest__slot--8  { left: 96.01%;  top: 81.04%; }
.halo-crest__slot--9  { left: 0.12%;   top: 74.33%; }
.halo-crest__slot--10 { left: 102.15%; top: 68.98%; }

.halo-crest__slot--9,
.halo-crest__slot--10 {
    display: none;
}

.halo-crest__glyph {
    font-size: 1.25rem;
    line-height: 1;
}

.halo-crest__bubble {
    animation: halo-crest-bob 6s ease-in-out infinite;
    will-change: transform;
}

.halo-crest__bubble--1  { animation-delay: 0s; }
.halo-crest__bubble--2  { animation-delay: -1.2s; }
.halo-crest__bubble--3  { animation-delay: -2.4s; }
.halo-crest__bubble--4  { animation-delay: -3.6s; }
.halo-crest__bubble--5  { animation-delay: -4.8s; }
.halo-crest__bubble--6  { animation-delay: -0.6s; }
.halo-crest__bubble--7  { animation-delay: -1.8s; }
.halo-crest__bubble--8  { animation-delay: -3s; }
.halo-crest__bubble--9  { animation-delay: -4.2s; }
.halo-crest__bubble--10 { animation-delay: -5.4s; }

@keyframes halo-crest-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-0.6rem); }
}

@media (min-width: 768px) {
    .halo-crest__orbit {
        bottom: 8rem;
        width: 62rem;
        height: 62rem;
    }

    .halo-crest__stage {
        height: 20rem;
    }

    .halo-crest__ring {
        clip-path: none;
    }

    .halo-crest__slot {
        width: 4.75rem;
        height: 4.75rem;
    }

    .halo-crest__slot--9,
    .halo-crest__slot--10 {
        display: block;
    }

    .halo-crest__glyph {
        font-size: 1.6rem;
    }
}

@media (min-width: 1024px) {
    .halo-crest__orbit {
        bottom: 9rem;
        width: min(87.5rem, 97vw);
        height: min(87.5rem, 97vw);
    }

    .halo-crest__stage {
        height: 24rem;
    }

    .halo-crest__slot {
        width: 6rem;
        height: 6rem;
    }

    .halo-crest__glyph {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .halo-crest__bubble {
        animation: none;
    }
}

/* content stride — alternating paragraph inset (no surfaces) */
.content-stride__para--odd {
    padding-inline-start: 0;
}

@media (min-width: 768px) {
    .content-stride__para--even {
        padding-inline-start: 2rem;
    }
}

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

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

/* glossary steps — oversized counter ring (layout only) */
.glossary-steps__num {
    width: 3.75rem;
    height: 3.75rem;
    min-width: 3.75rem;
}

.bulletin-card-grid__tile {
    max-width: 24rem;
}

/* subscribe v16 — geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.mailing-counter__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

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

/* decorative background blobs — fixed sizing, placement and blur */
.mailing-counter__blob {
    width: 16rem;
    height: 16rem;
    filter: blur(64px);
}

.mailing-counter__blob--a {
    top: -4rem;
    inset-inline-start: -4rem;
    width: 18rem;
    height: 18rem;
}

.mailing-counter__blob--b {
    bottom: -5rem;
    inset-inline-end: -2.5rem;
    width: 22rem;
    height: 22rem;
}

.mailing-counter__blob--c {
    top: 33.333333%;
    inset-inline-end: 25%;
    width: 12rem;
    height: 12rem;
}

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

.mailing-counter__subtitle {
    margin-bottom: 2.5rem;
}

.mailing-counter__row {
    flex-direction: column;
    gap: 1rem;
}

.mailing-counter__input {
    width: 100%;
    max-width: 20rem;
    padding: 0.75rem 1rem;
}

.mailing-counter__cta {
    padding: 0.75rem 2rem;
}

.mailing-counter__cta--hover {
    transition: transform 0.2s ease;
}

.mailing-counter__cta--hover:hover {
    transform: scale(1.05);
}

.mailing-counter__panel {
    padding: 2rem;
}

.mailing-counter__panel-title {
    font-size: 1.5rem;
}

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

    .mailing-counter__input {
        width: auto;
        flex: 1 1 0%;
    }
}

@media (min-width: 768px) {
    .mailing-counter__title {
        font-size: 3rem;
    }

    .mailing-counter__panel-title {
        font-size: 1.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mailing-counter__cta--hover:hover {
        transform: none;
    }
}

