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


.content-flex-min {
    min-width: 0;
}

.folio-bodycopy__picture--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.content-grid-gap {
    gap: 2rem;
}

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

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

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

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

/* steps v21 - Bauhaus grid geometric shape accents (no color, shape only via TW bg-* on the element) */

.steps-bauhaus__shape {
    width: 1.5rem;
    height: 1.5rem;
}

.steps-bauhaus__shape--0 {
    border-radius: 9999px;
}

.steps-bauhaus__shape--1 {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.steps-bauhaus__shape--2 {
    border-radius: 0;
}

.steps-bauhaus__shape--3 {
    border-radius: 9999px;
    transform: translateX(-0.5rem);
}

/* advantages collage — CSS multi-column masonry (no BS analog); cards must not split across columns */

/* decor sizes/positions live here so they render in Bootstrap too (BS has no w-N/h-N/inset utilities) */
.advantages-collage__orb {
    width: 20rem;
    height: 20rem;
    top: -6rem;
    left: -4rem;
}

.advantages-collage__ring {
    width: 16rem;
    height: 16rem;
    bottom: -4rem;
    right: -4rem;
}

.advantages-collage {
    column-count: 1;
    column-gap: 1.5rem;
}

.advantages-collage__cell {
    break-inside: avoid;
}

@media (min-width: 640px) {
    .advantages-collage {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .advantages-collage {
        column-count: 3;
    }
}

/* Bootstrap: explicit grid + gap (row gutters often collapse) */
.tips-grid__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.tips-grid__min-shrink {
    min-width: 0;
}

@media (min-width: 768px) {
    .tips-grid__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tips-grid__subtitle {
    max-width: 42rem;
}

.tips-grid__thumb {
    width: 3rem;
    height: 3rem;
}


.rally-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.rally-beacon__inner {
    max-width: 56rem;
}

@keyframes rally-beacon-pin-blink-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.rally-beacon__pin--blink {
    animation: rally-beacon-pin-blink-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

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

@keyframes rally-beacon-action-hop-cycle {
    0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(.8,0,1,1); }
    50%       { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,.2,1); }
}
.rally-beacon__action--hop {
    animation: rally-beacon-action-hop-cycle 1s infinite;
}

