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

.services__panel--lift {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.services__panel--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

.services__cta--lift {
  transition: filter 0.3s ease, transform 0.3s ease;
}

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

.services__cta--lift:hover {
  filter: brightness(0.92);
}

/* Bootstrap: сетка + gap как у Tailwind (row + row-cols без col даёт слипание) */
.reasons-quad-columns__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .reasons-quad-columns__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .reasons-quad-columns__bs-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.reasons-quad-columns__subtitle-max {
    max-width: 48rem;
}

/* Как mb-8 у Tailwind (2rem) */
.reasons-quad-columns__media-mb {
    margin-bottom: 2rem;
}

/* Как w-20 h-20 у Tailwind — у bs не было фиксированного квадрата */
.reasons-quad-thumb {
    width: 5rem;
    height: 5rem;
    flex-shrink: 0;
}

.reasons-quad-columns__item {
    min-height: 400px;
}

/* process editorial — full-bleed banner, serif display, step list */
.process-editorial__banner {
    aspect-ratio: 21 / 5;
    max-height: 16rem;
}

.process-editorial__banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-editorial__headline {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.process-editorial__intro {
    max-width: 42rem;
}

.process-editorial__pill {
    letter-spacing: 0.02em;
}

.process-editorial__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.process-editorial__step-num {
    display: inline-block;
    min-width: 1.75rem;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.process-editorial__step:last-child {
    border-bottom: 0;
}

@media (min-width: 768px) {
    .process-editorial__banner {
        aspect-ratio: 21 / 4;
        max-height: 18rem;
    }
}

@media (min-width: 992px) {
    .process-editorial__nav {
        border-top: 0;
        padding-top: 0.5rem;
    }
}

@media (max-width: 991px) {
    .process-editorial__banner {
        aspect-ratio: 16 / 6;
        max-height: 14rem;
    }
}


@keyframes knowledge-clarify-flare-throb-seq {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.knowledge-clarify__flare--throb {
    animation: knowledge-clarify-flare-throb-seq 2s cubic-bezier(.4,0,.6,1) infinite;
}

@keyframes knowledge-clarify-flare-rebound-seq {
    0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
.knowledge-clarify__flare--rebound {
    animation: knowledge-clarify-flare-rebound-seq 1s infinite;
}

@keyframes knowledge-clarify-flare-ping-seq {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.knowledge-clarify__flare--ping {
    animation: knowledge-clarify-flare-ping-seq 1s cubic-bezier(0,0,.2,1) infinite;
}

/* Animation delays */
.knowledge-clarify__flare--delay-1 { animation-delay: 0.3s; }
.knowledge-clarify__flare--delay-2 { animation-delay: 0.5s; }
.knowledge-clarify__flare--delay-3 { animation-delay: 0.8s; }
.knowledge-clarify__flare--delay-4 { animation-delay: 1s; }
.knowledge-clarify__flare--delay-5 { animation-delay: 1.2s; }
.knowledge-clarify__flare--delay-6 { animation-delay: 1.5s; }
.knowledge-clarify__flare--delay-7 { animation-delay: 2s; }

/* Dot positions and sizes */
.knowledge-clarify__dot-a { top: 3rem; left: 2.5rem; width: 0.75rem; height: 0.75rem; }
.knowledge-clarify__dot-b { top: 5rem; right: 4rem; width: 0.5rem; height: 0.5rem; }
.knowledge-clarify__dot-c { top: 8rem; left: 25%; width: 1rem; height: 1rem; }
.knowledge-clarify__dot-d { bottom: 6rem; right: 5rem; width: 0.75rem; height: 0.75rem; }
.knowledge-clarify__dot-e { bottom: 4rem; left: 4rem; width: 0.5rem; height: 0.5rem; }
.knowledge-clarify__dot-f { top: 50%; right: 3rem; width: 1.25rem; height: 1.25rem; }

/* Line decors */
.knowledge-clarify__line-a { top: 25%; left: 33%; width: 3rem; height: 0.125rem; }
.knowledge-clarify__line-b { bottom: 33%; right: 25%; width: 4rem; height: 0.125rem; }

/* Corner blob size */
.knowledge-clarify__corner-blob { width: 4rem; height: 4rem; }

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

.knowledge-clarify__flare--glow:hover { transform: scale(1.25); transition: transform .2s ease; }

