/* 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-minimal__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-minimal__body {
    min-width: 0;
}

/* process storybook — gallery height, image crop, active nav, BS row overflow fix (no colors) */
.process-cdpr__root {
    max-width: 100%;
}
.process-cdpr__gallery-wrap {
    max-width: 100%;
    overflow: hidden;
}
.process-cdpr__gallery {
    height: 16rem;
    max-width: 100%;
}
.process-cdpr__gallery.row {
    margin-left: 0;
    margin-right: 0;
}
.process-cdpr__gallery > * {
    min-width: 0;
}
.process-cdpr__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
}
.process-cdpr__nav-btn {
    transition: border-color 200ms ease, color 200ms ease;
}
.process-cdpr__nav-btn.is-active {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

/* whyus v16 — ransom-note table layout: pulse rings, scrim, giant row numbers, scroll-snap track */
/* No colors below: only white/black shade-as-opacity for the scrim (per project exception), everything else is layout/size/animation/transform. */

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-ransom__section--py {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

.mxw-md {
    max-width: 28rem !important;
}

.whyus-ransom__head,
.whyus-ransom__media {
    margin-bottom: 4rem;
}

.whyus-ransom__note {
    margin-top: 4rem;
}

.whyus-ransom__foot {
    margin-top: 4rem;
}

.whyus-ransom__title {
    font-size: 1.875rem;
    letter-spacing: 0.025em;
}

.whyus-ransom__subtitle {
    font-size: 1rem;
}

.whyus-ransom__caption {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.whyus-ransom__icon {
    font-size: 1.875rem;
}

.whyus-ransom__item-title {
    font-size: 1.125rem;
    transition: letter-spacing 300ms ease;
}

.whyus-ransom__item-title:hover {
    letter-spacing: 0.025em;
}

.whyus-ransom__cta {
    padding: 1rem 2.5rem;
    letter-spacing: 0.025em;
    transition: transform 300ms ease;
}

.whyus-ransom__cta--hover:hover {
    transform: scale(1.05);
}

.whyus-ransom__decor {
    contain: layout style;
}

.whyus-ransom__pulse-ring {
    top: 50%;
    left: 50%;
    width: 12rem;
    height: 12rem;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    --bs-border-opacity: 0.2;
    animation: whyus-ransom-pulse 4s ease-out infinite;
}

/* content-first: rings start after the heading's fade-in has already begun */
.whyus-ransom__pulse-ring--1 {
    --bs-border-opacity: 0.3;
    animation-delay: 0.8s;
}

.whyus-ransom__pulse-ring--2 {
    width: 20rem;
    height: 20rem;
    animation-delay: 1.6s;
}

.whyus-ransom__pulse-ring--3 {
    width: 28rem;
    height: 28rem;
    animation-delay: 2.4s;
}

@keyframes whyus-ransom-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.6;
    }
    70% {
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.whyus-ransom__fade-in {
    animation: whyus-ransom-fade-in 0.5s ease-out both;
}

@keyframes whyus-ransom-fade-in {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* radial vignette over the hero illustration only — pure lightness/opacity fade, not a hue */
.whyus-ransom__scrim {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 70%);
}

@media (prefers-color-scheme: dark) {
    .whyus-ransom__scrim {
        background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 70%);
    }
}

.whyus-ransom__accent {
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    transform: rotate(-1deg);
}

.whyus-ransom__row-group {
    overflow: hidden;
}

.whyus-ransom__row-number {
    top: -1.5rem;
    right: 0;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    z-index: 0;
    --bs-text-opacity: 0.05;
}

.whyus-ransom__row-track {
    flex-direction: column;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.whyus-ransom__row-item {
    padding-inline-start: 1.5rem;
    scroll-snap-align: start;
}

.whyus-ransom__row-item:first-child {
    border-inline-start-width: 0;
}

.whyus-ransom__snippet pre {
    white-space: pre-wrap;
}

@media (min-width: 768px) {
    .whyus-ransom__section--py {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .whyus-ransom__head,
    .whyus-ransom__media {
        margin-bottom: 6rem;
    }

    .whyus-ransom__note {
        margin-top: 6rem;
    }

    .whyus-ransom__foot {
        margin-top: 5rem;
    }

    .whyus-ransom__title {
        font-size: 3rem;
    }

    .whyus-ransom__accent {
        display: inline;
        font-size: 3.75rem;
    }

    .whyus-ransom__subtitle {
        font-size: 1.125rem;
    }

    .whyus-ransom__row-number {
        font-size: 8rem;
    }

    .whyus-ransom__row-track {
        flex-direction: row;
        gap: 1.5rem;
    }

    .whyus-ransom__row-item {
        flex: 1 1 0%;
        padding-inline-start: 2rem;
    }
}

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

/* FAQ v13 — JS hooks */
.handbook-support-resolve-veiled {
    display: none;
}

.handbook-support-mark.handbook-support-mark-expand {
    transform: rotate(180deg);
}

