/* intro v27 — Evangelion cascade: organic blob, wide banner, diagonal steps, slide-in L/R, word reveal */

/* Organic blob */
.intro-eva__blob {
    width: 24rem;
    height: 24rem;
    filter: blur(60px);
    opacity: 0.4;
    border-radius: 38% 62% 55% 45% / 55% 42% 58% 45%;
    animation: intro-eva-morph 12s ease-in-out infinite;
}
@keyframes intro-eva-morph {
    50% { border-radius: 55% 45% 42% 58% / 42% 58% 45% 55%; }
}

/* Single wide banner */
.intro-eva__banner-img {
    display: block;
    width: 100%;
    height: 12rem;
    object-fit: cover;
}
@media (min-width: 768px) {
    .intro-eva__banner-img { height: 16rem; }
}

/* Stepped diagonal cascade + asymmetric mixed sizes */
.intro-eva__row { margin-left: 0; }
.intro-eva__cell { max-width: 46rem; }
@media (min-width: 768px) {
    .intro-eva__row:nth-child(1) .intro-eva__cell { margin-left: 0;    max-width: 40rem; }
    .intro-eva__row:nth-child(2) .intro-eva__cell { margin-left: 3rem; max-width: 34rem; }
    .intro-eva__row:nth-child(3) .intro-eva__cell { margin-left: 6rem; max-width: 44rem; }
    .intro-eva__row:nth-child(4) .intro-eva__cell { margin-left: 9rem; max-width: 30rem; }
}

/* Slide-in from L / R on scroll — hidden only once JS arms it (no-JS content stays visible) */
.intro-eva.is-armed .intro-eva__row {
    opacity: 0;
    transition: opacity 560ms ease, transform 560ms ease;
}
.intro-eva.is-armed .intro-eva__row:nth-child(odd)  { transform: translateX(-2.5rem); }
.intro-eva.is-armed .intro-eva__row:nth-child(even) { transform: translateX(2.5rem); }
.intro-eva.is-armed .intro-eva__row.is-in { opacity: 1; transform: translateX(0); }

/* Letterpress-ish press using the element's own colour */
.intro-eva__press { text-shadow: 0 1px 0 currentColor; }

/* Word-by-word reveal */
.intro-eva__word { display: inline-block; }
.intro-eva.is-armed .intro-eva__word {
    opacity: 0;
    transform: translateY(0.6em);
    transition: opacity 420ms ease, transform 420ms ease;
}
.intro-eva.is-armed .intro-eva__reveal.is-in .intro-eva__word { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .intro-eva__blob { animation: none; }
    .intro-eva__row { opacity: 1; transform: none; }
    .intro-eva__word { opacity: 1; transform: none; }
}

.services-columns__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-columns__list {
    columns: 1;
    margin: 0;
}
@media (min-width: 768px) {
    .services-columns__list {
        columns: 2;
        column-gap: 2.5rem;
    }
}

.services-columns__group {
    break-inside: avoid;
    margin-bottom: 2rem;
}

.services-columns__accent {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 2px;
    background-color: currentColor;
}

/* process split — shell split, deck grid, marker, step numbers, stagger, panel borders */
.process-split__shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 992px) {
    .process-split__shell {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }
}

.process-split__deck {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
}

.process-split__marker {
    width: 0.625rem;
    height: 0.625rem;
}

.process-split__num {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.process-split__rule {
    width: 100%;
    height: 1px;
}

.process-split__col .process-split__blade:last-child {
    border-bottom-width: 0;
}

@media (min-width: 992px) {
    .process-split__deck--ruled {
        border-left: 1px solid var(--bs-border-color);
        border-top-width: 0;
        padding-top: 3.5rem;
    }

    .process-split__col--shift {
        margin-top: -3.5rem;
    }
}

@media (max-width: 991px) {
    .process-split__col--shift {
        margin-top: 0;
    }
}

.process-split__blade {
    transition: transform 200ms ease;
}

.process-split__blade:hover {
    transform: translateY(-2px);
}

/* quote wireframe — typography, aurora sweep, ruler marks, celtic knots, dual-image crop */

.quote-wire__heading-serif {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.quote-wire__body-sans {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* horizontal aurora wave — translate only; gradient colors live in template classes */
@keyframes quoteWireAuroraSweep {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

.quote-wire__aurora {
    width: 60%;
    height: 140%;
    top: -20%;
    left: 20%;
    filter: blur(4rem);
    animation: quoteWireAuroraSweep 14s linear infinite;
    will-change: transform;
}

/* ruler measurement marks — tick pattern via transparent gaps, color from currentColor */
.quote-wire__ruler {
    height: 1.25rem;
    background-image:
        repeating-linear-gradient(
            90deg,
            currentColor 0,
            currentColor 1px,
            transparent 1px,
            transparent 6px
        ),
        repeating-linear-gradient(
            90deg,
            currentColor 0,
            currentColor 1px,
            transparent 1px,
            transparent 24px
        );
    background-size: 6px 40%, 24px 100%;
    background-position: left bottom, left top;
    background-repeat: repeat-x;
}

.quote-wire__ruler--vertical {
    width: 1.25rem;
    height: 100%;
    min-height: 8rem;
    background-image:
        repeating-linear-gradient(
            180deg,
            currentColor 0,
            currentColor 1px,
            transparent 1px,
            transparent 6px
        ),
        repeating-linear-gradient(
            180deg,
            currentColor 0,
            currentColor 1px,
            transparent 1px,
            transparent 24px
        );
    background-size: 40% 6px, 100% 24px;
    background-position: right top, left top;
    background-repeat: repeat-y;
}

/* wireframe corner brackets */
.quote-wire__bracket {
    width: 1.5rem;
    height: 1.5rem;
    border-style: solid;
    border-width: 0;
}

.quote-wire__bracket--tl {
    top: 0.5rem;
    left: 0.5rem;
    border-top-width: 2px;
    border-left-width: 2px;
}

.quote-wire__bracket--br {
    bottom: 0.5rem;
    right: 0.5rem;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

/* celtic-knot corner accents — interlaced L-shapes, distinct from deck overlap variant */
.quote-wire__knot {
    width: 1.75rem;
    height: 1.75rem;
    pointer-events: none;
}

.quote-wire__knot--tl {
    top: 0.35rem;
    left: 0.35rem;
    clip-path: polygon(0 0, 100% 0, 100% 28%, 28% 28%, 28% 100%, 0 100%, 0 55%, 55% 55%, 55% 0);
}

.quote-wire__knot--tr {
    top: 0.35rem;
    right: 0.35rem;
    clip-path: polygon(0 0, 100% 0, 100% 55%, 72% 55%, 72% 100%, 45% 100%, 45% 28%, 0 28%);
}

.quote-wire__knot--bl {
    bottom: 0.35rem;
    left: 0.35rem;
    clip-path: polygon(0 45%, 28% 45%, 28% 0, 55% 0, 55% 72%, 100% 72%, 100% 100%, 0 100%);
}

.quote-wire__knot--br {
    bottom: 0.35rem;
    right: 0.35rem;
    clip-path: polygon(72% 0, 100% 0, 100% 100%, 0 100%, 0 72%, 45% 72%, 45% 45%, 72% 45%);
}

/* featured card — diagonal crop dual-image overlap */
.quote-wire__dual-media {
    position: relative;
    height: 9rem;
    overflow: hidden;
}

.quote-wire__dual-media img {
    position: absolute;
    top: 0;
    width: 78%;
    height: 100%;
    object-fit: cover;
}

.quote-wire__dual-media img:first-child {
    left: 0;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%);
}

.quote-wire__dual-media img:last-child {
    right: 0;
    z-index: 2;
    clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
}

/* wireframe grid crosshair overlay */
.quote-wire__crosshair {
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.35;
}

/* slot group spacing — vertical rhythm between named slots */
.quote-wire__slot-stack > [data-slot] + [data-slot] {
    margin-top: 1rem;
}

.quote-wire__card-slot > [data-slot="attribution"] {
    margin-top: auto;
    padding-top: 0.75rem;
}

.quote-wire__panel-body {
    min-width: 0;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-wire-root [role="listitem"]:hover,
    .quote-wire-root article:hover,
    .quote-wire-root [class*="quote-wire__card"]:hover,
    .quote-wire-root .quote-wire__book:hover,
    .quote-wire-root .quote-wire__step:hover,
    .quote-wire-root .quote-wire__index-card:hover,
    .quote-wire-root .quote-wire__pill:hover,
    .quote-wire-root .quote-wire__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-wire-root [role="listitem"],
.quote-wire-root article,
.quote-wire-root [class*="quote-wire__card"],
.quote-wire-root .quote-wire__book,
.quote-wire-root .quote-wire__step,
.quote-wire-root .quote-wire__index-card,
.quote-wire-root .quote-wire__pill {
    transition: transform 200ms ease;
}

.quote-wire-root a:focus-visible,
.quote-wire-root button:focus-visible,
.quote-wire-root [tabindex="0"]:focus-visible,
.quote-wire-root input:focus-visible,
.quote-wire-root summary:focus-visible,
.quote-wire-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-wire-root button:hover,
    .quote-wire-root a:hover,
    .quote-wire-root summary:hover {
        opacity: 0.92;
    }
}


.conversion-boost__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@keyframes conversion-boost-highlight-throb-track {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.conversion-boost__highlight--throb {
    animation: conversion-boost-highlight-throb-track 2s cubic-bezier(.4,0,.6,1) infinite;
}

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

