.lilyee-fabric-story {
    position: relative;
    overflow: hidden;
    color: var(--color-text);
    background: #FAF8FF;
}

.lilyee-fabric-story__label {
    position: absolute;
    left: 1rem;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.lilyee-fabric-story__stage {
    display: grid;
}

.lilyee-fabric-story__panel {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: clamp(4rem, 8vw, 7rem) 6vw;
    position: relative;
    opacity: 0.8;
    transform: translateY(2rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
    scroll-snap-align: start;
}

.lilyee-fabric-story__panel.is-active {
    opacity: 1;
    transform: translateY(0);
}

.lilyee-fabric-story__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(250, 245, 240, 0.95));
    pointer-events: none;
    opacity: 0.65;
}

.lilyee-fabric-story__visual {
    position: relative;
    height: min(92vh, 72rem);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 2rem;
    background: #f9f5f0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.lilyee-fabric-story__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.lilyee-fabric-story__visual-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 35%),
        radial-gradient(circle at bottom right, rgba(248, 242, 236, 0.4), transparent 30%);
    pointer-events: none;
}

.lilyee-fabric-story__content {
    position: relative;
    z-index: 1;
    max-width: 42rem;
}

.lilyee-fabric-story__eyebrow {
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.82rem;
    color: var(--color-primary);
}

.lilyee-fabric-story__heading {
    margin: 0 0 1.5rem;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.05;
}

.lilyee-fabric-story__copy-text {
    margin: 0 0 1rem;
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    line-height: 1.8;
    max-width: 38rem;
}

.lilyee-fabric-story__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0 2.5rem;
}

.lilyee-fabric-story__chip {
    display: inline-flex;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(99, 86, 74, 0.12);
}

.lilyee-fabric-story__actions {
    margin-top: 1rem;
}

.lilyee-fabric-story__badge {
    display: inline-flex;
    margin-top: 1.75rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lilyee-fabric-story__nav {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    right: 2rem;
    z-index: 2;
    display: block;
    pointer-events: auto;
}

.lilyee-fabric-story__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.lilyee-fabric-story__nav-button {
    width: 1.15rem;
    height: 1.15rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.lilyee-fabric-story__nav-button:focus-visible,
.lilyee-fabric-story__nav-button:hover {
    outline: none;
}

.lilyee-fabric-story__nav-dot {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(138, 122, 109, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.lilyee-fabric-story__nav-button:hover .lilyee-fabric-story__nav-dot,
.lilyee-fabric-story__nav-button:focus-visible .lilyee-fabric-story__nav-dot {
    transform: scale(1.25);
    background-color: rgba(138, 122, 109, 0.5);
}

.lilyee-fabric-story__nav-button.is-active .lilyee-fabric-story__nav-dot {
    transform: scale(1.45);
    background-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45), 0 0 0 5px rgba(99, 86, 74, 0.22);
}

.lilyee-fabric-story__panel--cotton {
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), rgba(248, 244, 239, 0.98));
}

.lilyee-fabric-story__panel--peached {
    background: linear-gradient(180deg, rgba(250, 246, 241, 0.98), rgba(237, 231, 224, 0.98));
}

.lilyee-fabric-story__panel--technical {
    background: linear-gradient(180deg, rgba(244, 242, 240, 0.98), rgba(225, 221, 216, 0.98));
}

@media (max-width: 1023px) {
    .lilyee-fabric-story__stage {
        scroll-snap-type: none;
    }

    .lilyee-fabric-story__panel {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: clamp(3rem, 6vw, 5rem) 4vw;
        min-height: auto;
    }

    .lilyee-fabric-story__visual {
        height: 60vh;
    }

    .lilyee-fabric-story__nav {
        position: static;
        margin: 0 auto;
        transform: none;
        display: flex;
        justify-content: center;
        padding-top: 1.5rem;
    }
}

@media (max-width: 767px) {
    .lilyee-fabric-story__panel {
        min-height: auto;
        padding: 2rem 1.25rem;
    }

    .lilyee-fabric-story__visual {
        height: 60vh;
        border-radius: 1.5rem;
    }

    .lilyee-fabric-story__content {
        padding-top: 1rem;
    }

    .lilyee-fabric-story__labels {
        justify-content: flex-start;
    }

    .lilyee-fabric-story__nav {
        padding-top: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lilyee-fabric-story__panel,
    .lilyee-fabric-story__visual img,
    .lilyee-fabric-story__nav-dot {
        transition: none;
        animation: none;
    }
}
