/* intro v18 — Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* Typewriter caret while typing */
.intro-clay__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-clay-caret 800ms step-end infinite;
}
@keyframes intro-clay-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.folio-bodycopy__text-panel-inset {
    padding: 4rem;
}

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

.content-section-pad-sm {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.content-img-fullheight {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 992px) {
    .content-img-fullheight {
        height: 100%;
        min-height: 16rem;
    }
}

@keyframes perks-timeline-stripe-line-move-kf {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.perks-timeline-stripe__line {
    position: absolute;
    width: 2px;
    animation-name: perks-timeline-stripe-line-move-kf;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.perks-timeline-stripe__dot {
    left: -3rem;
    top: 1.5rem;
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.perks-timeline-stripe__orb--tr {
    width: 24rem;
    height: 24rem;
}

.perks-timeline-stripe__orb--bl {
    width: 20rem;
    height: 20rem;
}

@media (min-width: 768px) {
    .perks-timeline-stripe__rail:hover .perks-timeline-stripe__dot {
        transform: scale(1.5);
    }
}

