/* ── SLIDESHOW: fills the entire viewport ── */
.slideshow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: fade 56s linear infinite 0s;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 7s;
}

.slide:nth-child(3) {
    animation-delay: 14s;
}

.slide:nth-child(4) {
    animation-delay: 21s;
}

.slide:nth-child(5) {
    animation-delay: 28s;
}

.slide:nth-child(6) {
    animation-delay: 35s;
}

.slide:nth-child(7) {
    animation-delay: 42s;
}

.slide:nth-child(8) {
    animation-delay: 49s;
}

@keyframes fade {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }

    7% {
        opacity: 1;
        transform: scale(1.05);
        animation-timing-function: ease-out;
    }

    14% {
        opacity: 1;
        transform: scale(1.1);
    }

    21% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ── NAV and FOOTER sit above the slideshow ── */
header,
footer {
    position: relative;
    z-index: 100;
}

/* ── Overlay content ── */
.container {
    position: relative;
    z-index: 50;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── MAIN: centered title, also above slideshow ── */
/* main {
    position: fixed;
    top: 48px;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
} */