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

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

/* v23 - shared 2x2 grid: avoids mixing BS row/col percentage widths with a flex/CSS gap */
.panel-strip__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 575.98px) {
    .panel-strip__grid {
        grid-template-columns: 1fr;
    }
}

/* v23 - fixed circle size for the number badge (no BS utility beyond w-25/50/75/100) */
.panel-strip__badge {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

/* v23 - comic halftone dot pattern (currentColor keeps it theme-safe, no literal colors) */
.steps-comic-panel__halftone {
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    opacity: 0.15;
    background-image: radial-gradient(currentColor 1.2px, transparent 1.2px);
    background-size: 8px 8px;
    pointer-events: none;
}

.cta-smoke-hero__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-smoke-hero__lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-smoke-hero__line-track {
  letter-spacing: 0.08em;
  line-height: 1;
}

.cta-smoke-hero__line--center {
  align-self: center;
  text-align: center;
}

.cta-smoke-hero__line--end {
  align-self: flex-end;
  text-align: end;
  margin-inline-end: 4%;
}

.cta-smoke-hero__line--start {
  align-self: flex-start;
  text-align: start;
  margin-inline-start: 4%;
}

.cta-smoke-hero__rule {
  height: 0;
}

.cta-smoke-hero__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

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

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

.cta-smoke-hero__cta-icon {
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .cta-smoke-hero__lines {
    gap: 0.75rem;
  }

  .cta-smoke-hero__line--end {
    margin-inline-end: 10%;
  }

  .cta-smoke-hero__line--start {
    margin-inline-start: 10%;
  }
}

@media (max-width: 767px) {
  .cta-smoke-hero__line--end,
  .cta-smoke-hero__line--start {
    margin-inline: 0;
    align-self: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-smoke-hero__cta:hover,
  .cta-smoke-hero__cta:focus-visible {
    transform: none;
  }

  .cta-smoke-hero__cta:hover .cta-smoke-hero__cta-icon,
  .cta-smoke-hero__cta:focus-visible .cta-smoke-hero__cta-icon {
    transform: none;
  }
}

