/* Story Page Specific Styles */

/* Story Page - Complete Redesign */
.story-hero-title {
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 900;
    line-height: 0.8;
    text-align: center;
    margin: 0;
    padding: 15vh 0 10vh;
}

.story-hero-title .hero-line {
    display: block;
}

.story-hero-title .tilted {
    transform: rotate(-2deg);
    color: var(--mint);
    margin-left: 2rem;
}

.story-timeline {
    padding: 4vh 5vw 8vh;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.story-chapter {
    margin-bottom: 8vh;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.story-chapter.philosophy {
    margin-top: 12vh;
}

.story-year-marker {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    color: var(--primary-text);
    opacity: 0.3;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    flex-shrink: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.story-content-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    flex: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.story-content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.story-content-box:hover::before {
    opacity: 1;
}

.story-content-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    transform: rotate(-1deg);
    display: inline-block;
}

.story-content-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.story-content-box p:last-child {
    margin-bottom: 0;
}

.client-showcase {
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
}

.client-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--yellow);
    transform: rotate(-0.5deg);
    display: inline-block;
}

.client-list {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.core-values {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(43, 64, 128, 0.1) 50%, 
        rgba(255, 255, 255, 0.08) 100%);
    border: 2px solid rgba(43, 64, 128, 0.4);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(43, 64, 128, 0.2);
}

.core-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(43, 64, 128, 0.15) 0%, 
        transparent 50%, 
        rgba(43, 64, 128, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.core-values:hover::before {
    opacity: 1;
}

.value-statement {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0;
    text-align: center;
    color: #2B4080;
    text-shadow: 0 0 30px rgba(43, 64, 128, 0.6);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    line-height: 1.3;
}

.value-statement strong {
    font-size: 1.1em;
    font-weight: 900;
    display: inline-block;
    transform: scale(1.05);
    text-shadow: 0 0 40px rgba(43, 64, 128, 0.8);
}

.philosophy-quote {
    margin-top: 2rem;
    text-align: center;
}

.quote-line {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.quote-emphasis {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Color-coded hover effects */
.coral-accent:hover {
    border-color: var(--coral);
    transform: translateY(-5px);
}

.coral-accent h2,
.coral-accent .emphasis-word {
    color: var(--coral);
}

.yellow-accent:hover {
    border-color: var(--yellow);
    transform: translateY(-5px);
}

.yellow-accent h2,
.yellow-accent .emphasis-word {
    color: var(--yellow);
}

.orange-accent:hover {
    border-color: #CC5500;
    transform: translateY(-5px);
}

.orange-accent h2,
.orange-accent .emphasis-word {
    color: #CC5500;
}

.mint-accent:hover {
    border-color: var(--mint);
    transform: translateY(-5px);
}

.mint-accent h2,
.mint-accent .emphasis-word {
    color: var(--mint);
}

.magenta-accent:hover {
    border-color: #FF6B9D;
    transform: translateY(-5px);
}

.magenta-accent h2,
.magenta-accent .emphasis-word {
    color: #FF6B9D;
}

.magenta-accent .core-values {
    border-left-color: #FF6B9D;
}

/* Playful emphasis for key words */
.emphasis-word {
    font-weight: 700;
    font-style: italic;
    position: relative;
    transform: rotate(-1deg);
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.emphasis-word:hover {
    transform: rotate(1deg) scale(1.05);
}

/* Mobile Story Page */
@media (max-width: 480px) {
    /* Story Page Mobile */
    .story-hero-title {
        padding: 10vh 0 6vh;
    }

    .story-timeline {
        padding: 2vh 4vw 6vh;
    }

    .story-chapter {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 6vh;
    }

    .story-year-marker {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        width: 100%;
        height: 80px;
        text-align: center;
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .story-content-box {
        padding: 2rem;
    }

    .story-content-box h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .story-content-box p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .client-showcase {
        gap: 1.5rem;
    }

    .client-category h3 {
        font-size: 1.1rem;
    }

    .client-list {
        font-size: 0.9rem;
    }

    .core-values {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .value-statement {
        font-size: 1.1rem;
    }

    .quote-line {
        font-size: 1rem;
    }

    .quote-emphasis {
        font-size: 1.2rem;
    }
}