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

/* No custom CSS needed for this version */

/* -- 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);
}
/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-honeycomb {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-6xl {
    max-width: 72rem !important;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.whyus-honeycomb__head {
    margin-bottom: 2.5rem;
}

.whyus-honeycomb__heading {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: 0.025em;
}

.whyus-honeycomb__lead {
    font-size: 1rem;
}

.whyus-honeycomb__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.whyus-honeycomb__block {
    padding-inline-start: 1.25rem;
}

.whyus-honeycomb__num {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.whyus-honeycomb__block-title {
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: 0.025em;
}

.whyus-honeycomb__block-desc {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .whyus-honeycomb {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .whyus-honeycomb__head {
        margin-bottom: 3.5rem;
    }

    .whyus-honeycomb__heading {
        font-size: 3rem;
    }

    .whyus-honeycomb__lead,
    .whyus-honeycomb__block-desc {
        font-size: 1rem;
    }

    .whyus-honeycomb__lead {
        font-size: 1.125rem;
    }

    .whyus-honeycomb__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .whyus-honeycomb__block {
        padding-inline-start: 1.5rem;
    }

    .whyus-honeycomb__block-title {
        font-size: 1.25rem;
    }
}

/* whyus v30 — Y2K bold header with open benefit text blocks */

/* decorative gradient overlay — small-amplitude hue-rotate cycle (filter only, no color values) */
@keyframes whyus-honeycomb-hue {
    0%   { filter: hue-rotate(0deg); }
    50%  { filter: hue-rotate(10deg); }
    100% { filter: hue-rotate(0deg); }
}

.whyus-honeycomb__aurora {
    opacity: 0.2;
    animation: whyus-honeycomb-hue 9s ease-in-out infinite;
}

/* icons-in-circles decorative field — fixed sizes, scattered positions */
.whyus-honeycomb__icon-dot {
    position: absolute;
    opacity: 0.2;
}

.whyus-honeycomb__icon-dot--1 { width: 3.5rem;  height: 3.5rem;  top: 6%;    left: 8%; }
.whyus-honeycomb__icon-dot--2 { width: 2.75rem; height: 2.75rem; top: 18%;   right: 12%; }
.whyus-honeycomb__icon-dot--3 { width: 4rem;    height: 4rem;    bottom: 22%; left: 5%; }
.whyus-honeycomb__icon-dot--4 { width: 2.5rem;  height: 2.5rem;  bottom: 10%; right: 20%; }
.whyus-honeycomb__icon-dot--5 { width: 3rem;    height: 3rem;    top: 45%;   right: 4%; }

/* divider extends first (scaleX 0 -> 1) */
@keyframes whyus-honeycomb-line {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.whyus-honeycomb__divider {
    width: 7rem;
    height: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    transform-origin: center;
    animation: whyus-honeycomb-line 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* text blocks — staggered fade-in after divider */
@keyframes whyus-honeycomb-block-in {
    from { opacity: 0; transform: translateY(0.75rem); }
    to   { opacity: 1; transform: translateY(0); }
}

.whyus-honeycomb__block {
    animation: whyus-honeycomb-block-in 420ms ease-out both;
}

.whyus-honeycomb__block:nth-child(2n + 1) { animation-delay: 520ms; }
.whyus-honeycomb__block:nth-child(2n)     { animation-delay: 620ms; }

@media (prefers-reduced-motion: reduce) {
    .whyus-honeycomb__aurora,
    .whyus-honeycomb__divider,
    .whyus-honeycomb__block {
        animation: none;
    }
}

.memo-number-hover,
.memo-box-hover,
.memo-cta-shadow,
.memo-cta-hover {
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.memo-title-rule {
    border-bottom: 4px solid var(--bs-primary);
}

.memo-principle-rule {
    border-top: 2px solid rgba(var(--bs-emphasis-color-rgb), 0.2);
}

.memo-principle-group:hover .memo-number-hover {
    color: var(--bs-primary) !important;
}

.memo-principle-group:hover .memo-box-hover {
    border-top-color: rgba(var(--bs-primary-rgb), 0.4) !important;
}

.memo-cta-shadow {
    transform: translate(0.375rem, 0.375rem);
}

.memo-cta-group:hover .memo-cta-shadow {
    transform: translate(0, 0);
}

.memo-cta-hover:hover {
    background-color: var(--bs-accent, rgb(var(--tw-accent-600, 37 99 235) / 1)) !important;
    color: #fff !important;
    border-color: var(--bs-accent, rgb(var(--tw-accent-700, 29 78 216) / 1)) !important;
}

