/* intro v17 — Death Note noir: circuit band, pulse rings, extrude text, duotone media, scroll slide-in */

/* Circuit-board traces — colour via Tailwind text-* on the band, currentColor in the pattern */
.intro-noir__circuit {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 32px),
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 32px);
    opacity: 0.18;
    -webkit-mask: linear-gradient(180deg, black, transparent);
    mask: linear-gradient(180deg, black, transparent);
}

/* Pulse rings from the band centre (size + placement so Bootstrap has no utility gap) */
.intro-noir__ring {
    width: 6rem;
    height: 6rem;
    top: 6rem;
    left: 50%;
    margin-left: -3rem;
    opacity: 0;
    animation: intro-noir-pulse 3.4s ease-out infinite;
}
.intro-noir__ring--2 { animation-delay: 1.7s; }

@keyframes intro-noir-pulse {
    0%   { transform: scale(0.4); opacity: 0.55; }
    100% { transform: scale(3.4); opacity: 0; }
}

/* Emboss seal circle */
.intro-noir__seal {
    width: 7rem;
    height: 7rem;
    font-size: 0.75rem;
    line-height: 1.1;
    padding: 0.75rem;
    transform: rotate(-8deg);
}

/* Extrude — stacked text-shadow depth using the element's own colour */
.intro-noir__extrude {
    text-shadow: 1px 1px 0 currentColor, 2px 2px 0 currentColor, 3px 3px 0 currentColor;
}

/* Duotone media: grayscale image + primary multiply tint (colour is a Tailwind class) */
.intro-noir__img {
    height: 10rem;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
}

/* Sticky aside offset (Bootstrap position-sticky has no top-16 utility) */
@media (min-width: 992px) {
    .intro-noir__aside { top: 4rem; }
}
.intro-noir__tint {
    mix-blend-mode: multiply;
    opacity: 0.5;
}

/* Letter-spacing widen on hover */
.intro-noir__ttl { transition: letter-spacing 260ms ease; }
[data-card]:hover .intro-noir__ttl { letter-spacing: 0.08em; }

/* Slide-in entrance — pure CSS on the reliable [data-card] attribute; always ends visible */
@keyframes intro-noir-rise {
    from { opacity: 0; transform: translateY(2rem); }
    to   { opacity: 1; transform: translateY(0); }
}
.intro-noir [data-card] { animation: intro-noir-rise 560ms ease both; }

@media (prefers-reduced-motion: reduce) {
    .intro-noir__ring { animation: none; }
    .intro-noir [data-card] { animation: none; }
}

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

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


.canvas-document__figure--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

.canvas-document__media-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.group:hover .canvas-document__media-overlay {
    opacity: 1;
}

.content-wide-frame {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

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

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

.content-base-height {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}

.header-ui__box-10 { width: 2.5rem; height: 2.5rem; }
.header-ui__box-12 { width: 3rem; height: 3rem; }

.faq-sift__glass { transform: translateY(-50%); top: 50%; }
.faq-sift__input { appearance: none; -webkit-appearance: none; }

.faq-sift__toggle { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer; }
.faq-sift__plus { transition: transform 300ms cubic-bezier(.2, .8, .2, 1); }
.faq-sift__item.is-open .faq-sift__plus { transform: rotate(135deg); }

.faq-sift__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 380ms cubic-bezier(.2, .8, .2, 1); }
.faq-sift__item.is-open .faq-sift__panel { grid-template-rows: 1fr; }
.faq-sift__inner { overflow: hidden; min-height: 0; }
.faq-sift__inner p { opacity: 0; transform: translateY(-.5rem); transition: opacity 300ms ease, transform 300ms ease; }
.faq-sift__item.is-open .faq-sift__inner p { opacity: 1; transform: none; transition-delay: 100ms; }


@media (prefers-reduced-motion: reduce) {
    .faq-sift__panel, .faq-sift__plus, .faq-sift__inner p { transition: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.faq-sift[hidden], .faq-sift [hidden], .faq-sift .hidden.d-none { display: none !important; }

/* subscribe v24 — postcard: geometry shared by both CSS frameworks, no colors */
.mailing-postcard__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

/* perforated seam between the stamp stub and the message body */
.mailing-postcard__stub {
    border-bottom-width: 2px;
    border-bottom-style: dashed;
}

.mailing-postcard__perf {
    width: 0;
    border-inline-start-width: 2px;
    border-inline-start-style: dashed;
}

.mailing-postcard__label {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.mailing-postcard__body {
    padding: 2rem;
}

.mailing-postcard__stamp {
    top: 1rem;
    inset-inline-end: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    transform: rotate(4deg);
}

.mailing-postcard__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    padding-inline-end: 4rem;
}

.mailing-postcard__text {
    margin-bottom: 1.5rem;
    padding-inline-end: 4rem;
}

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

.mailing-postcard__input,
.mailing-postcard__cta {
    padding: 0.75rem 1rem;
}

.mailing-postcard__cta {
    padding-inline: 1.5rem;
}

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

@media (min-width: 768px) {
    .mailing-postcard__stub {
        width: 25%;
        border-bottom-width: 0;
    }

    .mailing-postcard__body {
        width: 75%;
    }

    .mailing-postcard__title {
        font-size: 1.875rem;
    }
}


.halo-signup__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.halo-signup__inner {
    max-width: 64rem;
}

@keyframes halo-signup-spark-beat-track {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.halo-signup__spark--beat {
    animation: halo-signup-spark-beat-track 2s cubic-bezier(.4,0,.6,1) infinite;
}

.halo-signup__jump--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

