.scroll-story-container-e56d1cfb {
    position: relative;
    height: 300vh;
    height: 300svh; /* Safari mobile fix */
    width: 100%;
}

.scroll-story-sticky-e56d1cfb {
    position: -webkit-sticky; /* Safari support */
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh; /* Safari mobile fix */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-story-bg-e56d1cfb {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    will-change: transform, filter, -webkit-filter; /* Safari support */
    z-index: 0;
    opacity: 1 !important;
    display: block !important;
}

.scroll-story-overlay-e56d1cfb {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Base logo style - controlled by JS now instead of hover */
.scroll-story-logo-e56d1cfb {
    position: absolute;
    z-index: 4;
    transition: opacity 0.5s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    pointer-events: none; 
}

.scroll-story-logo-e56d1cfb img {
    height: auto;
    display: inline-block;
}

.scroll-story-content-e56d1cfb {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1000px; /* Reduced to align with nav */
    padding: 0 40px;
    color: #ffffff;
    height: 100vh;
    height: 100svh; /* Safari mobile fix */
    pointer-events: none; 
}

.scroll-story-item-e56d1cfb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    opacity: 1; 
    visibility: visible;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    height: 60vh; 
    height: 60svh; /* Safari mobile fix */
}

/* Text styles - controlled by JS now instead of hover */
.scroll-story-item-e56d1cfb h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 5vw, 60px);
    margin: 0;
    color: inherit;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.title-left-e56d1cfb {
    align-self: flex-start;
    text-align: left;
    margin-bottom: auto;
    margin-left: 10%; /* Adjust to match nav */
}

.title-right-e56d1cfb {
    align-self: flex-end;
    text-align: right;
    margin-top: auto;
    margin-right: 10%; /* Adjust to match nav */
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .scroll-story-content-e56d1cfb {
        padding: 0 20px;
    }
    
    .scroll-story-item-e56d1cfb {
        height: 70svh; /* Give more space on mobile */
    }
    
    .title-left-e56d1cfb,
    .title-right-e56d1cfb {
        margin-left: 0;
        margin-right: 0;
    }
}