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

@media (min-width: 768px) {
    .steps-dual-panel__sticky-col {
        position: sticky;
        top: 2rem;
    }
}

.steps-dual-panel__badge-circle {
    width: 3rem;
    height: 3rem;
}

.steps-dual-panel__decor-dot {
    width: 0.5rem;
    height: 0.5rem;
}

/* process feature — image ratios, list markers (no colors) */
.process-feature__hero-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.process-feature__side-img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    max-width: 18rem;
}
.process-feature__bullet {
    width: 0.375rem;
    height: 0.375rem;
    flex-shrink: 0;
}
.process-feature__index {
    min-width: 1.5rem;
}

/* benefits reel — autoplay carousel, layout/motion only (no colors) */
.benefits-reel { --reel-duration: 5200ms; }
.benefits-reel__count { font-variant-numeric: tabular-nums; min-width: 4.5rem; text-align: right; }

.benefits-reel__ctrl { appearance: none; -webkit-appearance: none; font: inherit; cursor: pointer; width: 3rem; height: 3rem; padding: 0; }

.benefits-reel__track {
    position: relative;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.benefits-reel__track::-webkit-scrollbar { display: none; }

.benefits-reel__slide { width: 85%; scroll-snap-align: start; }
@media (min-width: 576px) { .benefits-reel__slide { width: 22rem; } }
@media (min-width: 1200px) { .benefits-reel__slide { width: 24rem; } }

.benefits-reel__card { transition: transform 400ms ease, box-shadow 400ms ease, opacity 400ms ease; opacity: .72; }
.benefits-reel__slide.is-active .benefits-reel__card { transform: translateY(-.5rem); opacity: 1; }
.benefits-reel__card:hover { opacity: 1; }

.benefits-reel__edge { height: .25rem; transform: scaleX(0); transform-origin: left center; transition: transform 500ms ease; }
.benefits-reel__slide.is-active .benefits-reel__edge { transform: scaleX(1); }

.benefits-reel__ring { width: 4rem; height: 4rem; }
.benefits-reel__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.benefits-reel__arc { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .35; }
.benefits-reel__slide.is-active .benefits-reel__arc { opacity: 1; animation: benefits-reel-fill var(--reel-duration) linear forwards; }
.benefits-reel.is-paused .benefits-reel__slide.is-active .benefits-reel__arc { animation-play-state: paused; }
.benefits-reel.is-static .benefits-reel__arc { animation: none; stroke-dashoffset: 0; }

.benefits-reel__dot { display: block; width: .5rem; height: .5rem; opacity: .3; transition: width 300ms ease, opacity 300ms ease; }
.benefits-reel__dot.is-active { width: 2rem; opacity: 1; }

@keyframes benefits-reel-fill { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
    .benefits-reel__track { scroll-behavior: auto; }
    .benefits-reel__card, .benefits-reel__edge, .benefits-reel__dot { transition: none; }
    .benefits-reel__slide.is-active .benefits-reel__arc { animation: none; stroke-dashoffset: 0; }
}

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

/* CTA band: the button group may shrink and wrap so long labels never run past the band */
.benefits-reel :has(> a[href] + a[href]) { flex-shrink: 1 !important; min-width: 0; max-width: 100%; }
.benefits-reel :has(> a[href] + a[href]) > a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.benefits-reel :has(+ :has(> a[href] + a[href])) { min-width: 0; }

/* faq v30 — full-width horizontal index lines */
.faq-index__row:last-child {
  border-bottom-width: 0;
}

.faq-index__headline {
  letter-spacing: -0.03em;
}

.faq-index__line {
  display: grid;
  width: 100%;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 1rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    'num'
    'question'
    'answer'
    'media';
}

.faq-index__cell--num {
  grid-area: num;
}

.faq-index__cell--question {
  grid-area: question;
  min-width: 0;
}

.faq-index__cell--answer {
  grid-area: answer;
  min-width: 0;
}

.faq-index__cell--media {
  grid-area: media;
  min-width: 0;
}

.faq-index__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 768px) {
  .faq-index__line {
    column-gap: 2rem;
    row-gap: 0;
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.25fr) minmax(12rem, 26%);
    grid-template-areas: 'num question answer media';
  }

  .faq-index__photo {
    min-height: 10rem;
  }
}

@media (min-width: 1200px) {
  .faq-index__line {
    column-gap: 3rem;
    grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.35fr) minmax(14rem, 24%);
  }
}

