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

/* process tron — grid bg pattern, card glow line, hover + active state */
.process-tron__grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 3rem 3rem;
}

.process-tron__card {
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.process-tron__card-hov:hover,
.process-tron__card-hov:focus-within,
.process-tron__card.is-active {
    transform: translateY(-0.35rem);
    box-shadow: var(--bs-box-shadow-lg);
    border-color: var(--bs-primary);
}

.process-tron__glow-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bs-primary);
    opacity: 0;
    transition: opacity 220ms ease;
}

.process-tron__card-hov:hover .process-tron__glow-line,
.process-tron__card-hov:focus-within .process-tron__glow-line,
.process-tron__card.is-active .process-tron__glow-line {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .process-tron__card {
        transition: none;
    }

    .process-tron__card-hov:hover,
    .process-tron__card-hov:focus-within,
    .process-tron__card.is-active {
        transform: none;
    }
}

/* Steps v20 — Horizontal Boarding-Pass Ticket Row Steps with Perforated Stub Divider */

/* Responsive card grid (avoids mixing Bootstrap row/col with a flex/grid gap on the same node) */
.ticket-stub__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .ticket-stub__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .ticket-stub__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Fixed-width code/number stub (no Bootstrap utility equivalent) */
.ticket-stub__code-box {
    width: 5rem;
}

/* Perforated divider — dashed edge between the stub and the ticket body */
.ticket-stub__divider {
    width: 0;
    border-left-style: dashed;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Prevents flex-child text overflow inside the ticket body */
.ticket-stub__min-shrink {
    min-width: 0;
}

/* advantages zigzag — 50/50 split, alternating direction, image cover + hover zoom (layout only, no colors) */

.advantages-zigzag__media {
    aspect-ratio: 4 / 3;
}

.advantages-zigzag__img {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.advantages-zigzag__media:hover .advantages-zigzag__img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    /* equal halves regardless of framework (BS has no responsive w-50 utility) */
    .advantages-zigzag__row > * {
        flex: 1 1 0%;
        min-width: 0;
    }

    /* first row image-left/text-right; every even row mirrors */
    .advantages-zigzag__row:nth-child(even) {
        flex-direction: row-reverse;
    }
}

/* content frame tiles — animated icon stage (replaces photo area) */
.content-frame-tiles__icon-stage {
    min-height: 14rem;
}

.content-frame-tiles__icon-tile {
    width: 5.5rem;
    height: 5.5rem;
    animation: content-frame-tiles-float 6s ease-in-out infinite;
}

.content-frame-tiles__icon-ring {
    width: 7rem;
    height: 7rem;
    animation: content-frame-tiles-ring 4.5s ease-in-out infinite;
}

.content-frame-tiles__icon-pulse {
    animation: content-frame-tiles-pulse 3.5s ease-in-out infinite;
}

.content-frame-tiles__icon-glyph {
    animation: content-frame-tiles-tilt 5s ease-in-out infinite;
    transform-origin: center;
}

.content-frame-tiles__icon-stage--0 .content-frame-tiles__icon-tile {
    animation-delay: 0s;
}

.content-frame-tiles__icon-stage--0 .content-frame-tiles__icon-ring {
    animation-delay: 0.3s;
}

.content-frame-tiles__icon-stage--0 .content-frame-tiles__icon-pulse {
    animation-delay: 0s;
}

.content-frame-tiles__icon-stage--0 .content-frame-tiles__icon-glyph {
    animation-delay: 0.2s;
}

.content-frame-tiles__icon-stage--1 .content-frame-tiles__icon-tile {
    animation-delay: 0.9s;
}

.content-frame-tiles__icon-stage--1 .content-frame-tiles__icon-ring {
    animation-delay: 1.2s;
}

.content-frame-tiles__icon-stage--1 .content-frame-tiles__icon-pulse {
    animation-delay: 0.8s;
}

.content-frame-tiles__icon-stage--1 .content-frame-tiles__icon-glyph {
    animation-delay: 1s;
}

.content-frame-tiles__icon-stage--2 .content-frame-tiles__icon-tile {
    animation-delay: 1.8s;
}

.content-frame-tiles__icon-stage--2 .content-frame-tiles__icon-ring {
    animation-delay: 2.1s;
}

.content-frame-tiles__icon-stage--2 .content-frame-tiles__icon-pulse {
    animation-delay: 1.6s;
}

.content-frame-tiles__icon-stage--2 .content-frame-tiles__icon-glyph {
    animation-delay: 1.8s;
}

@keyframes content-frame-tiles-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.4rem);
    }
}

@keyframes content-frame-tiles-ring {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.08) rotate(12deg);
        opacity: 0.35;
    }
}

@keyframes content-frame-tiles-pulse {
    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 0.15;
    }
}

@keyframes content-frame-tiles-tilt {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(8deg) scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-frame-tiles__icon-tile,
    .content-frame-tiles__icon-ring,
    .content-frame-tiles__icon-pulse,
    .content-frame-tiles__icon-glyph {
        animation: none;
    }
}


.appeal-signup__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.appeal-signup__shell--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

