/* intro v28 — Arc diagonal-split: clip split, floating rings, ransom-note words, grayscale hover, click burst */

/* Diagonal split zone */
.intro-arc2__split {
    clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
    opacity: 0.6;
}

/* Floating rings / donuts (fixed size — no BS w-N/h-N utility) */
.intro-arc2__ring { width: 10rem; height: 10rem; animation: intro-arc2-float 7s ease-in-out infinite; }
.intro-arc2__ring--2 { width: 6rem; height: 6rem; animation-duration: 9s; animation-delay: 1s; }
@keyframes intro-arc2-float {
    50% { transform: translateY(-1.2rem) rotate(20deg); }
}

/* Serif accent (paired with sans body) */
.intro-arc2__serif { font-family: ui-serif, Georgia, "Times New Roman", serif; }

/* Hero image grayscale → colour reveal on hover */
.intro-arc2__figure { aspect-ratio: 4 / 3; }
.intro-arc2__img {
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 420ms ease;
}
.intro-arc2__figure:hover .intro-arc2__img { filter: grayscale(0); }

/* Ransom-note mixed letters: alternate rotation, weight, family (no colour) */
.intro-arc2__word {
    display: inline-block;
    margin-right: 0.25em;
}
.intro-arc2__word:nth-child(3n+1) { transform: rotate(-4deg); font-weight: 900; }
.intro-arc2__word:nth-child(3n+2) { transform: rotate(3deg);  font-family: ui-serif, Georgia, serif; font-style: italic; }
.intro-arc2__word:nth-child(3n+3) { transform: rotate(-1deg); font-weight: 700; text-transform: uppercase; }

/* Click burst spark (inherits the button's primary colour via currentColor) */
.intro-arc2__react { position: relative; overflow: visible; }
.intro-arc2__spark {
    position: absolute;
    left: 50%;
    top: 50%;
    pointer-events: none;
    animation: intro-arc2-burst 640ms ease-out forwards;
}
@keyframes intro-arc2-burst {
    to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4) rotate(160deg); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-arc2__ring { animation: none; }
}

/* process works — marquee ticker, title scale, list rows, background logo (no colors) */
.process-works__marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 3rem;
    animation: process-works-marquee 32s linear infinite;
}
.process-works__marquee-item {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}
.process-works__title {
    word-break: break-word;
}
.process-works__row {
    transition: transform 200ms ease;
}
.process-works__row:hover {
    transform: translateX(0.25rem);
}
.process-works__logo {
    min-height: 16rem;
    pointer-events: none;
}
.process-works__logo-mark {
    width: 14rem;
    height: 14rem;
    flex-shrink: 0;
    animation: process-works-drift 8s ease-in-out infinite;
}
.process-works__logo-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}
.process-works__logo-mark svg,
.process-works__logo-mark svg :is(path, circle, rect, polygon) {
    fill: currentColor !important;
}
@keyframes process-works-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}
@keyframes process-works-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0.5rem, -0.75rem, 0);
    }
}
@media (min-width: 768px) {
    .process-works__logo {
        min-height: 20rem;
    }
    .process-works__logo-mark {
        width: 18rem;
        height: 18rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .process-works__marquee-track,
    .process-works__logo-mark {
        animation: none;
    }
    .process-works__row:hover {
        transform: none;
    }
}

/* whyus v20 — fluid parametric backdrop, glitch/scroll reveals */
/* No colors here: `currentColor` reads the Tailwind text-color class already applied on each node. */

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

.mxw-4xl {
    max-width: 56rem !important;
}

.whyus-parametric__head {
    margin-bottom: 3rem;
}

.whyus-parametric__title {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.whyus-parametric__lead {
    font-size: 1rem;
    letter-spacing: 0.025em;
}

.whyus-parametric__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
}

.whyus-parametric__main {
    gap: 3rem;
}

.whyus-parametric__side {
    gap: 1.5rem;
}

.whyus-parametric__panel {
    padding: 1.5rem;
}

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

.whyus-parametric__row-title {
    font-size: 1.5rem;
    letter-spacing: 0.025em;
    transition: letter-spacing 200ms ease;
}

.whyus-parametric__row-title:hover {
    letter-spacing: 0.1em;
}

.whyus-parametric__card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.whyus-parametric__card {
    padding: 1.25rem;
}

.whyus-parametric__card-title {
    font-size: 1.125rem;
    letter-spacing: 0.025em;
    transition: letter-spacing 200ms ease;
}

.whyus-parametric__card-title:hover {
    letter-spacing: 0.1em;
}

.whyus-parametric__card-desc {
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.whyus-parametric__note {
    padding: 1.25rem;
}

.whyus-parametric__note-title {
    letter-spacing: 0.1em;
}

.whyus-parametric__divider {
    --bs-bg-opacity: 0.2;
}

/* ── Left-half backdrop: fluid swooping edge instead of a straight 50% cut ── */
.whyus-parametric__bg-half {
    width: 100%;
    overflow: hidden;
    clip-path: polygon(0 0, 92% 0, 100% 18%, 94% 40%, 100% 62%, 90% 100%, 0 100%);
}

/* ── Mesh-gradient blobs — radial gradient from currentColor, slow organic drift ── */
.whyus-parametric__blob {
    background-image: radial-gradient(circle at 50% 50%, currentColor 0%, transparent 70%);
    filter: blur(40px);
    will-change: transform;
}

.whyus-parametric__blob--a {
    top: -4rem;
    inset-inline-start: -6rem;
    width: 18rem;
    height: 18rem;
    opacity: 0.3;
    animation: whyus-parametric-drift-a 22s ease-in-out infinite;
}

.whyus-parametric__blob--b {
    bottom: 0;
    inset-inline-start: 25%;
    width: 16rem;
    height: 16rem;
    opacity: 0.2;
    animation: whyus-parametric-drift-b 28s ease-in-out infinite;
}

.whyus-parametric__blob--c {
    top: 33.333333%;
    inset-inline-start: 33.333333%;
    width: 14rem;
    height: 14rem;
    opacity: 0.25;
    animation: whyus-parametric-drift-c 34s ease-in-out infinite;
}

@keyframes whyus-parametric-drift-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(2rem, 3rem) scale(1.08); }
}

@keyframes whyus-parametric-drift-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-3rem, -2rem) scale(0.95); }
}

@keyframes whyus-parametric-drift-c {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(1.5rem, -2.5rem) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-parametric__blob--a,
    .whyus-parametric__blob--b,
    .whyus-parametric__blob--c {
        animation: none;
    }
}

/* ── Film-perforation edge strip ── */
.whyus-parametric__perf-strip {
    width: 0.5rem;
    background-image: repeating-linear-gradient(to bottom, currentColor 0, currentColor 6px, transparent 6px, transparent 18px);
}

/* ── Row / card containers ── */
.whyus-parametric__row {
    position: relative;
}

.whyus-parametric__card {
    transition: transform 200ms ease;
}

.whyus-parametric__card:hover {
    transform: translateY(-0.25rem);
}

.whyus-parametric__note {
    transition: transform 200ms ease;
}

.whyus-parametric__note:hover {
    transform: translateX(0.25rem);
}

/* ── Skewed swoop divider between rows (Zaha-Hadid-style dynamic line) ── */
.whyus-parametric__divider {
    display: block;
    height: 0.375rem;
    margin-top: 2.5rem;
    clip-path: polygon(0 40%, 20% 60%, 40% 20%, 60% 70%, 80% 30%, 100% 55%, 100% 100%, 0 100%);
}

.whyus-parametric__divider--lg {
    height: 0.5rem;
    margin-top: 3rem;
}

/* ── Appearance animation: glitch flicker on load, then settle ── */
.whyus-parametric__glitch {
    animation: whyus-parametric-glitch 900ms steps(2, end) 1 both;
}

@keyframes whyus-parametric-glitch {
    0% { opacity: 0; transform: translate(0, 0); }
    10% { opacity: 1; transform: translate(-6px, 2px); }
    20% { opacity: 0.2; transform: translate(4px, -3px); }
    30% { opacity: 1; transform: translate(-3px, 0); }
    45% { opacity: 0.4; transform: translate(3px, 2px); }
    60% { opacity: 1; transform: translate(0, -2px); }
    80% { opacity: 0.8; transform: translate(-1px, 1px); }
    100% { opacity: 1; transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .whyus-parametric__glitch {
        animation: none;
    }
}

/* ── Scroll-driven reveal for the micro-ring rows ──
   Static, fully visible fallback for browsers without scroll-timeline support. */
.whyus-parametric__row--micro {
    opacity: 1;
    transform: none;
}

@supports (animation-timeline: view()) {
    .whyus-parametric__row--micro {
        opacity: 0;
        animation: whyus-parametric-reveal linear both;
        animation-timeline: view();
        /* entry-based range: cover-N% never completes for bottom-of-section cards */
        animation-range: entry 0% entry 100%;
    }
}

@keyframes whyus-parametric-reveal {
    from { opacity: 0; transform: translateY(2rem); }
    to { opacity: 1; transform: translateY(0); }
}

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

    .whyus-parametric__bg-half {
        width: 50%;
    }

    .whyus-parametric__perf-strip {
        width: 0.75rem;
    }

    .whyus-parametric__head {
        margin-bottom: 4rem;
    }

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

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

    .whyus-parametric__main {
        gap: 4rem;
    }

    .whyus-parametric__panel {
        padding: 2rem;
    }

    .whyus-parametric__row-title {
        font-size: 1.875rem;
    }

    .whyus-parametric__card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .whyus-parametric__card,
    .whyus-parametric__note {
        padding: 1.5rem;
    }

    .whyus-parametric__card-title {
        font-size: 1.25rem;
    }

    .whyus-parametric__card-desc {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .whyus-parametric {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }

    .whyus-parametric__layout {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 4rem;
    }

    .whyus-parametric__main {
        grid-column: span 8 / span 8;
    }

    .whyus-parametric__side {
        grid-column: span 4 / span 4;
    }
}

@keyframes perks-stats-stack-rotate-kf {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.perks-stats-stack__square {
    animation: perks-stats-stack-rotate-kf 30s linear infinite;
}

.perks-stats-stack__square--slow {
    animation-duration: 36s;
}

.perks-stats-stack__feat-thumb {
    width: 2rem;
    height: 2rem;
}

.perks-stats-stack__row-thumb {
    width: 3rem;
    height: 3rem;
}

.perks-stats-stack__feat,
.perks-stats-stack__row {
    transition: transform 0.2s ease;
}

@media (min-width: 640px) {
    .perks-stats-stack__feat:hover {
        transform: scale(1.05);
    }

    .perks-stats-stack__row:hover {
        transform: scale(1.05);
    }
}

