/* ========================================
   CINEMATIC STORYTELLING STYLES
   Graceful, Bold, Aesthetic.
   ======================================== */

.story-container {
    padding: 0;
    margin: 0;
    background-color: var(--black);
    color: var(--white);
}

.story-frame {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: var(--space-2xl) var(--space-xl);
    overflow: hidden;
    z-index: 2;
}

.story-frame.centered {
    text-align: center;
}

.story-frame.left-aligned {
    text-align: left;
    align-items: flex-start;
}

.story-text {
    max-width: 900px;
    z-index: 10;
    position: relative;
}

/* Beautiful Typography */
.story-kicker {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: var(--text-sm);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--white) 30%, rgba(255, 255, 255, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
    word-break: break-word;
}

.story-paragraph {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.8;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s;
    max-width: 800px;
}

/* Reveal State */
.story-frame.is-visible .story-kicker,
.story-frame.is-visible .story-title,
.story-frame.is-visible .story-paragraph {
    opacity: 1;
    transform: translateY(0);
}

/* Graceful Aesthetics */
.gold-glow-text {
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
    text-shadow: 0 0 40px rgba(184, 134, 11, 0.3);
}

.story-divider {
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
    margin: var(--space-2xl) auto;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 1.5s ease 0.6s;
}

.story-frame.is-visible .story-divider {
    opacity: 1;
    transform: scaleY(1);
}

/* Cinematic Background Elements */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--black) 100%);
    pointer-events: none;
    z-index: 5;
}

.story-blur {
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

/* Product Reveal Grid */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    width: 100%;
    max-width: 1400px;
    margin-top: var(--space-2xl);
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s;
}

.story-frame.is-visible .story-grid {
    opacity: 1;
    transform: translateY(0);
}

.story-card {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-xl);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--gold);
    transition: all 0.5s ease;
    text-align: left;
}

.story-card:hover {
    background: rgba(15, 15, 15, 0.8);
    border-color: rgba(184, 134, 11, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.story-card-title {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: var(--text-2xl);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.story-card-text {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* Scrolling indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: 10;
    opacity: 0;
    animation: fadeInOut 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .story-frame {
        padding: var(--space-xl) var(--space-md);
    }

    .story-card {
        padding: var(--space-lg);
    }
}