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

/* process film — card image fit */
.process-film__img-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.process-film__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* process film — full-section animated primary blur */
.process-film__blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.process-film__blur--a {
    width: 75%;
    height: 85%;
    top: -25%;
    left: -20%;
    animation: process-film-blur-drift-a 10s ease-in-out infinite;
}

.process-film__blur--b {
    width: 70%;
    height: 80%;
    top: 0;
    right: -25%;
    animation: process-film-blur-drift-b 12s ease-in-out infinite;
}

.process-film__blur--c {
    width: 80%;
    height: 90%;
    bottom: -30%;
    left: 5%;
    animation: process-film-blur-drift-c 14s ease-in-out infinite;
}

.process-film__blur--d {
    width: 65%;
    height: 75%;
    top: 25%;
    left: 25%;
    animation: process-film-blur-drift-d 11s ease-in-out infinite;
}

.process-film__blur--delay {
    animation-delay: 2.5s;
}

@keyframes process-film-blur-drift-a {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }

    50% {
        transform: translate(8%, 6%) scale(1.08);
        opacity: 1;
    }
}

@keyframes process-film-blur-drift-b {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-6%, 8%) scale(1.06);
        opacity: 0.95;
    }
}

@keyframes process-film-blur-drift-c {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.65;
    }

    50% {
        transform: translate(5%, -6%) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes process-film-blur-drift-d {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-4%, 5%) scale(1.07);
        opacity: 0.85;
    }
}

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

.steps-tip-cards__col {
    max-width: 20rem;
}

.steps-tip-cards__badge-circle {
    width: 4rem;
    height: 4rem;
}

.perks-split-highlight__key-thumb {
    width: 3rem;
    height: 3rem;
}

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

    .perks-split-highlight__entry:hover .perks-split-highlight__icon {
        transform: scale(1.05);
    }
}

.perks-split-highlight__entry {
    transition: transform 0.3s ease;
}

.perks-split-highlight__icon {
    transition: transform 0.3s ease;
}

/* content stack rows — animated icon tiles (TW w-20 h-20 has no BS util) */
.content-stack-rows__icon-tile {
    width: 5rem;
    height: 5rem;
}

.content-stack-rows__icon-pulse {
    animation: content-stack-rows-pulse 3.5s ease-in-out infinite;
}

.content-stack-rows__icon-tile {
    animation: content-stack-rows-float 6s ease-in-out infinite;
}

.content-stack-rows__icon-glyph {
    animation: content-stack-rows-tilt 5s ease-in-out infinite;
    transform-origin: center;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-pulse {
    animation-delay: 0s;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-tile {
    animation-delay: 0s;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-glyph {
    animation-delay: 0.2s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-pulse {
    animation-delay: 0.8s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-tile {
    animation-delay: 0.8s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-glyph {
    animation-delay: 1s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-pulse {
    animation-delay: 1.6s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-tile {
    animation-delay: 1.6s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-glyph {
    animation-delay: 1.8s;
}

@keyframes content-stack-rows-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.35rem);
    }
}

@keyframes content-stack-rows-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.14);
        opacity: 0.2;
    }
}

@keyframes content-stack-rows-tilt {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(-6deg) scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-stack-rows__icon-pulse,
    .content-stack-rows__icon-tile,
    .content-stack-rows__icon-glyph {
        animation: none;
    }
}

.cta-stagger-services__grid-lines {
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.cta-stagger-services__grid-line {
  flex: 1 1 0;
  height: 100%;
  border-inline-end-width: 1px;
  border-inline-end-style: solid;
}

.cta-stagger-services__grid-line:last-child {
  border-inline-end-width: 0;
}

.cta-stagger-services__logo {
  display: grid;
  grid-template-columns: repeat(3, 1.25rem);
  gap: 0.25rem;
}

.cta-stagger-services__logo-cell {
  width: 1.25rem;
  height: 1.25rem;
}

.cta-stagger-services__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-stagger-services__item--shift {
  margin-inline-start: 12%;
}

.cta-stagger-services__item-num {
  font-size: 0.875rem;
  vertical-align: super;
  line-height: 0;
  margin-inline-end: 0.35rem;
}

@media (max-width: 767px) {
  .cta-stagger-services__item--shift {
    margin-inline-start: 0;
  }
}

@media (min-width: 768px) {
  .cta-stagger-services__item--shift {
    margin-inline-start: 14%;
  }
}

/* CTA button — TW + BS */
.cta-stagger-services__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-stagger-services__cta:hover,
.cta-stagger-services__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-stagger-services__cta:hover .cta-stagger-services__cta-icon,
.cta-stagger-services__cta:focus-visible .cta-stagger-services__cta-icon {
  transform: translate(2px, -2px);
}

.cta-stagger-services__cta-icon {
  transition: transform 0.2s ease;
}

/* Service strip cards — BS hover parity */
.cta-stagger-services__item-hov {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cta-stagger-services__item-hov:hover,
.cta-stagger-services__item-hov:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--bs-box-shadow-lg);
  border-color: var(--bs-primary) !important;
}

.cta-stagger-services__item-hov:hover .cta-stagger-services__item-num,
.cta-stagger-services__item-hov:focus-within .cta-stagger-services__item-num {
  color: var(--bs-primary) !important;
}

@media (prefers-reduced-motion: reduce) {
  .cta-stagger-services__cta:hover,
  .cta-stagger-services__cta:focus-visible,
  .cta-stagger-services__item-hov:hover,
  .cta-stagger-services__item-hov:focus-within {
    transform: none;
  }

  .cta-stagger-services__cta:hover .cta-stagger-services__cta-icon,
  .cta-stagger-services__cta:focus-visible .cta-stagger-services__cta-icon {
    transform: none;
  }
}

