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

.features-wave-cards__decor--offset-1 {
    top: 4rem;
    left: 3rem;
    transform: rotate(12deg);
}
.features-wave-cards__decor--offset-2 {
    top: 8rem;
    right: 4rem;
    transform: rotate(-6deg);
}
.features-wave-cards__decor--offset-3 {
    bottom: 6rem;
    left: 5rem;
    transform: rotate(6deg);
}
.features-wave-cards__decor--offset-4 {
    bottom: 8rem;
    right: 3rem;
    transform: rotate(-12deg);
}
.features-wave-cards__decor--pulse {
    animation: features-wave-cards-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.features-wave-cards__decor--bounce {
    animation: features-wave-cards-bounce-kf 2s infinite;
}
.features-wave-cards__decor--ping {
    animation: features-wave-cards-ping-kf 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes features-wave-cards-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@keyframes features-wave-cards-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes features-wave-cards-ping-kf {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.features-wave-cards__line--offset-1 {
    top: 33%;
    left: 0;
    clip-path: polygon(0% 50%, 25% 0%, 50% 50%, 75% 100%, 100% 50%);
}
.features-wave-cards__line--offset-2 {
    bottom: 25%;
    right: 0;
    clip-path: polygon(0% 50%, 25% 100%, 50% 50%, 75% 0%, 100% 50%);
}

.features-wave-cards__decor--drop-1 {
    top: 25%;
    left: 25%;
}
.features-wave-cards__decor--drop-2 {
    bottom: 33%;
    right: 33%;
}

.features-wave-cards__card--hover {
    transition: transform 0.3s ease;
}
.features-wave-cards__card--hover:hover {
    transform: scale(1.05);
}

.features-wave-cards__overlay-decor {
    top: 0;
    right: 0;
    transform: translate(2rem, -2rem);
}
.features-wave-cards__icon-wrap {
    clip-path: polygon(0% 20%, 100% 0%, 100% 80%, 0% 100%);
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.canvas-document__figure--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

.canvas-document__media-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.group:hover .canvas-document__media-overlay {
    opacity: 1;
}

.content-wide-frame {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-img-tall {
    display: block;
    width: 100%;
    height: 20rem;
    min-height: 20rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 768px) {
    .content-img-tall {
        height: 24rem;
        min-height: 24rem;
    }
}

.content-base-height {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}

/* advantages zigzag — 50/50 split, alternating direction, image cover + hover zoom (layout only, no colors) */

.advantages-zigzag__media {
    aspect-ratio: 4 / 3;
}

.advantages-zigzag__img {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.advantages-zigzag__media:hover .advantages-zigzag__img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    /* equal halves regardless of framework (BS has no responsive w-50 utility) */
    .advantages-zigzag__row > * {
        flex: 1 1 0%;
        min-width: 0;
    }

    /* first row image-left/text-right; every even row mirrors */
    .advantages-zigzag__row:nth-child(even) {
        flex-direction: row-reverse;
    }
}

/* faq v29 — split hero + stats panel */
.faq-split__seal {
  width: 11rem;
  height: 11rem;
  flex-shrink: 0;
  padding: 1.25rem;
  box-sizing: border-box;
}

.faq-split__seal-text {
  display: block;
  max-width: 8.25rem;
  font-size: 0.5625rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.faq-split__headline {
  letter-spacing: -0.025em;
}

.faq-split__icon {
  width: 2.75rem;
  height: 2.75rem;
}

.faq-split__icon-dots {
  width: 1rem;
  height: 1rem;
}

.faq-split__icon-dot {
  width: 0.65rem;
  height: 0.65rem;
}

.faq-split__icon-dot--trail {
  transform: translate(0.35rem, 0.35rem);
}

.faq-split__lead,
.faq-split__panel {
  min-width: 0;
}

@media (min-width: 992px) {
  .faq-split__panel {
    max-width: 28rem;
  }
}

