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

.services-minimal__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.services-minimal__body {
    min-width: 0;
}

.features-bento__decor--pulse {
    animation: features-bento-pulse-kf 2s infinite;
}
.features-bento__decor--bounce {
    animation: features-bento-bounce-kf 2s infinite;
    transform: rotate(45deg);
}
.features-bento__decor--spin {
    animation: features-bento-spin-kf 4s linear infinite;
}
.features-bento__decor--line {
    transform: rotate(12deg);
}

.features-bento__card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.features-bento__card:hover .features-bento__title {
    color: var(--bs-primary);
}

.features-bento__item:hover {
    transform: scale(1.05);
}
.features-bento__item:hover .features-bento__title {
    color: var(--bs-primary);
}

@keyframes features-bento-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@keyframes features-bento-bounce-kf {
    0%, 100% { transform: translateY(-25%) rotate(45deg); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none rotate(45deg); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes features-bento-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* ?? BS-mode bento grid layout ?? */
.features-bento__grid-bs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.features-bento__grid-bs .features-bento__card {
    grid-column: span 2;
    grid-row: span 2;
}
@media (max-width: 767.98px) {
    .features-bento__grid-bs {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575.98px) {
    .features-bento__grid-bs {
        grid-template-columns: 1fr;
    }
    .features-bento__grid-bs .features-bento__card {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* -- BS-mode decorative shapes — subtle, non-intrusive -- */
.features-decor__bs-blob {
    background-color: var(--bs-primary-bg-subtle);
    opacity: 0.35;
    filter: blur(48px);
}
.features-decor__bs-shape {
    opacity: 0.15;
}
.features-decor__bs-line {
    border-left: 1px solid var(--bs-primary-border-subtle);
    opacity: 0.18;
}
@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);
    }
}

/* advantages reveal â€” chevron toggle button reset + rotation + decor orb (layout/motion only, no colors) */

.advantages-reveal__orb {
    width: 20rem;
    height: 20rem;
    bottom: -6rem;
    right: -6rem;
}

.advantages-reveal__trigger {
    cursor: pointer;
}

.advantages-reveal__chevron {
    transition: transform 0.25s ease;
}

.advantages-reveal__trigger.is-open .advantages-reveal__chevron {
    transform: rotate(180deg);
}


/* BS fallback: w-1 has no BS utility */
.pitch-beacon__timeline-line {
    width: 0.25rem;
}

.pitch-beacon__timeline-node {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

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

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

.pitch-beacon__story--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

.pitch-beacon__jump--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

