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

.gallery-animated-dots__dot--pos-1 {
    top: 5rem;
    left: 4rem;
    width: 2rem;
    height: 2rem;
}

.gallery-animated-dots__dot--pos-2 {
    top: 8rem;
    right: 5rem;
    width: 1.5rem;
    height: 1.5rem;
}

.gallery-animated-dots__dot--pos-3 {
    bottom: 6rem;
    left: 5rem;
    width: 2.5rem;
    height: 2.5rem;
}

.gallery-animated-dots__dot--pos-4 {
    bottom: 8rem;
    right: 4rem;
    width: 1rem;
    height: 1rem;
}

.gallery-animated-dots__dot--pos-5 {
    top: 25%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
}

.gallery-animated-dots__dot--pos-6 {
    top: 33.333%;
    right: 33.333%;
    width: 0.75rem;
    height: 0.75rem;
}

.gallery-animated-dots__dot--pos-7 {
    bottom: 25%;
    left: 33.333%;
    width: 0.5rem;
    height: 0.5rem;
}

@keyframes gallery-animated-dots-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.gallery-animated-dots__dot--bounce {
    animation: gallery-animated-dots-bounce-kf 1s infinite;
}

@keyframes gallery-animated-dots-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.gallery-animated-dots__dot--pulse {
    animation: gallery-animated-dots-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes gallery-animated-dots-ping-kf {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.gallery-animated-dots__dot--ping {
    animation: gallery-animated-dots-ping-kf 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.gallery-animated-dots__item--hover {
    transition: transform 0.3s ease;
}

.gallery-animated-dots__item--hover:hover {
    transform: scale(1.05);
}

.tips-numbered__card {
    max-width: 24rem;
}

.tips-numbered__thumb {
    width: 4rem;
    height: 4rem;
}

.values-circle-block__card {
    max-width: 24rem;
}

.values-circle-block__item {
    max-width: 24rem;
}

.values-circle-block__thumb {
    width: 5rem;
    height: 5rem;
}


.beacon-signal__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.beacon-signal__inner {
    max-width: 64rem;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 1.5rem;
}

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

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

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

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

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

/* Equal columns + row/column gap (flex-wrap + content width caused uneven cards) */
.beacon-signal__surround-row-bs {
    display: grid;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 1.5rem;
}

@media (min-width: 768px) {
    .beacon-signal__surround-row-bs {
        column-gap: 1.25rem;
        row-gap: 1.75rem;
    }
}

@media (min-width: 992px) {
    .beacon-signal__surround-row-bs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 1.5rem;
        row-gap: 1.75rem;
    }
}

.beacon-signal__surround-row-bs > .beacon-signal__record--glow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    min-width: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

