.intro-animated-gradient__root {
    padding-top: clamp(4rem, 12vw, 10rem);
    padding-bottom: clamp(4rem, 12vw, 10rem);
    min-height: min(32rem, 85vh);
}

@keyframes intro-animated-gradient-spin {
    to {
        transform: rotate(360deg);
    }
}

.intro-animated-gradient__spin--left,
.intro-animated-gradient__spin--right {
    width: 85%;
    height: 85%;
    top: 7.5%;
    animation-name: intro-animated-gradient-spin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
}

.intro-animated-gradient__spin--left {
    left: -18%;
    animation-duration: 48s;
}

.intro-animated-gradient__spin--right {
    right: -18%;
    animation-duration: 60s;
    animation-direction: reverse;
}

.intro-animated-gradient__area {
    max-width: 48rem;
}

/* sticky intro + hover CTA / links */
.services__intro {
  align-self: flex-start;
}

@media (min-width: 992px) {
  .services__intro {
    position: sticky;
    top: 6rem;
    z-index: 2;
  }
}

.services__hero-cta--lift {
  transition: filter 0.2s ease, transform 0.2s ease;
}

.services__hero-cta--lift:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.services__link--lift {
  transition: filter 0.2s ease;
}

.services__link--lift:hover {
  filter: brightness(1.12);
}

/* process diagonal — bg blob, card clip-path variants, hover lift */
.process-diag__bg-blob {
    position: absolute;
    width: 35rem;
    height: 35rem;
    border-radius: 50%;
    filter: blur(6rem);
    opacity: 0.05;
    pointer-events: none;
    top: -10rem;
    left: 30%;
    background: var(--bs-primary);
}
.process-diag__card {
    transition: transform 200ms ease;
}
.process-diag__card:hover {
    transform: scale(1.01);
}
.process-diag__card--0 {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}
.process-diag__card--1 {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
}
.process-diag__watermark {
    z-index: 0;
    max-width: 100%;
    overflow: hidden;
    user-select: none;
}

/* 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. */

.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;
    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 {
    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 {
    transform: rotate(-1deg);
}

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

.whyus-ransom__row-number {
    top: -1.5rem;
    right: 0;
    line-height: 1;
    z-index: 0;
}

.whyus-ransom__row-track {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.whyus-ransom__row-item {
    scroll-snap-align: start;
}

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

/* quote v19 — weirdcore single focus: progress bar, sunburst, pulsing rings, annotation panel */

.quote-weirdcore__progress-fill {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 120ms linear;
}

.quote-weirdcore__lead {
    font-variant: small-caps;
    letter-spacing: 0.04em;
}

.quote-weirdcore__stage {
    min-height: 18rem;
}

.quote-weirdcore__rays {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.quote-weirdcore__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.quote-weirdcore__ring--1 {
    width: 8rem;
    height: 8rem;
    animation: quoteWeirdcorePulse 3s ease-out infinite;
}
.quote-weirdcore__ring--2 {
    width: 11rem;
    height: 11rem;
    animation: quoteWeirdcorePulse 3s ease-out infinite 0.6s;
}
.quote-weirdcore__ring--3 {
    width: 14rem;
    height: 14rem;
    animation: quoteWeirdcorePulse 3s ease-out infinite 1.2s;
}
@keyframes quoteWeirdcorePulse {
    0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.7; }
    70% { opacity: 0.15; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

.quote-weirdcore__frame {
    width: min(100%, 22rem);
}
.quote-weirdcore__dot {
    width: 0.5rem;
    height: 0.5rem;
    flex: none;
}
.quote-weirdcore__panel-body {
    min-height: 14rem;
}
.quote-weirdcore__panel-grid {
    opacity: 0.55;
}
.quote-weirdcore__panel-mark {
    margin-top: 0.125rem;
}
.quote-weirdcore__panel-badge {
    letter-spacing: 0.08em;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-weirdcore-root [role="listitem"]:hover,
    .quote-weirdcore-root article:hover,
    .quote-weirdcore-root [class*="quote-weirdcore__card"]:hover,
    .quote-weirdcore-root .quote-weirdcore__book:hover,
    .quote-weirdcore-root .quote-weirdcore__step:hover,
    .quote-weirdcore-root .quote-weirdcore__index-card:hover,
    .quote-weirdcore-root .quote-weirdcore__pill:hover,
    .quote-weirdcore-root .quote-weirdcore__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-weirdcore-root [role="listitem"],
.quote-weirdcore-root article,
.quote-weirdcore-root [class*="quote-weirdcore__card"],
.quote-weirdcore-root .quote-weirdcore__book,
.quote-weirdcore-root .quote-weirdcore__step,
.quote-weirdcore-root .quote-weirdcore__index-card,
.quote-weirdcore-root .quote-weirdcore__pill {
    transition: transform 200ms ease;
}

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

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

