/* ═══════════════════════════════════════════════════════════
   BEYOND THE SCREEN - PREMIUM REDESIGN
   Showcasing depth, humanity, and multi-dimensional expertise
   ═══════════════════════════════════════════════════════════ */

#beyond {
    position: relative;
    background: linear-gradient(180deg,
        rgba(5, 5, 15, 1) 0%,
        rgba(10, 5, 20, 1) 50%,
        rgba(5, 5, 15, 1) 100%
    );
    overflow: hidden;
}

/* Background ambient effect */
#beyond::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,
        rgba(168, 85, 247, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   NARRATIVE GRID - VISUAL STORYTELLING LAYOUT
   ═══════════════════════════════════════════════════════════ */

.beyond-narrative-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 60px;
}

/* Story Card - Base */
.story-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
    transition: opacity 0.6s ease;
}

.story-card:hover::before {
    opacity: 0.7;
}

/* Story Background Image */
.story-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.story-card:hover .story-background {
    transform: scale(1.05);
}

/* Story Content */
.story-content {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Story Label */
.story-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

/* Story Title */
.story-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Story Description */
.story-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    max-width: 600px;
}

/* Story Metrics */
.story-metrics {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.metric-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Story Link */
.story-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: fit-content;
}

.story-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(4px);
}

.story-link i {
    transition: transform 0.3s ease;
}

.story-link:hover i {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   FEATURED STORY - PAWSROAM
   ═══════════════════════════════════════════════════════════ */

.story-featured {
    min-height: 600px;
    background: linear-gradient(135deg,
        rgba(168, 85, 247, 0.2) 0%,
        rgba(10, 5, 20, 0.9) 100%
    );
}

.story-featured .story-label {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    border-color: transparent;
    color: white;
}

/* ═══════════════════════════════════════════════════════════
   SPLIT STORIES - TWO COLUMN LAYOUT
   ═══════════════════════════════════════════════════════════ */

.story-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.story-split-item {
    position: relative;
    min-height: 450px;
    overflow: hidden;
}

.story-split-item .story-content {
    min-height: 450px;
}

/* Culinary Arts Accent */
.story-culinary .story-label {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: transparent;
    color: white;
}

/* Global Mindset Accent */
.story-global .story-label {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-color: transparent;
    color: white;
}

/* ═══════════════════════════════════════════════════════════
   PHILOSOPHY SECTION - DESIGN THINKING
   ═══════════════════════════════════════════════════════════ */

.philosophy-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2px;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-quote {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300;
    line-height: 1.6;
    color: var(--star-primary);
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
}

.philosophy-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -30px;
    font-size: 80px;
    color: rgba(168, 85, 247, 0.2);
    font-family: Georgia, serif;
}

.philosophy-author {
    font-size: 14px;
    color: var(--star-tertiary);
    margin-bottom: 40px;
}

.philosophy-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.principle-item {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.principle-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

.principle-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.principle-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--star-primary);
    margin-bottom: 8px;
}

.principle-description {
    font-size: 13px;
    color: var(--star-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   SKILLS CONSTELLATION - VISUAL SKILLS MAP
   ═══════════════════════════════════════════════════════════ */

.skills-constellation {
    padding: 80px 0;
    text-align: center;
}

.constellation-header {
    margin-bottom: 60px;
}

.constellation-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    color: var(--star-primary);
    margin-bottom: 16px;
}

.constellation-subtitle {
    font-size: 16px;
    color: var(--star-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--accent-nebula) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-category:hover::before {
    opacity: 1;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-8px);
}

.skill-category-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--star-primary);
    margin-bottom: 20px;
    text-align: left;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.skill-tag {
    padding: 6px 14px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   PERSONAL JOURNEY - TIMELINE
   ═══════════════════════════════════════════════════════════ */

.personal-journey {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.journey-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(168, 85, 247, 0.3) 10%,
        rgba(168, 85, 247, 0.3) 90%,
        transparent 100%
    );
    transform: translateX(-50%);
}

.journey-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.journey-year {
    text-align: right;
    font-size: 14px;
    color: var(--star-tertiary);
    font-weight: 600;
}

.journey-marker {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    border: 4px solid rgba(168, 85, 247, 0.2);
    border-radius: 50%;
    position: relative;
    z-index: 10;
}

.journey-content {
    text-align: left;
}

.journey-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--star-primary);
    margin-bottom: 8px;
}

.journey-description {
    font-size: 14px;
    color: var(--star-secondary);
    line-height: 1.6;
}

/* Alternate layout */
.journey-item:nth-child(even) .journey-year {
    order: 3;
    text-align: left;
}

.journey-item:nth-child(even) .journey-marker {
    order: 2;
}

.journey-item:nth-child(even) .journey-content {
    order: 1;
    text-align: right;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .story-split {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .story-content {
        padding: 40px 24px;
        min-height: 400px;
    }

    .story-title {
        font-size: 32px;
    }

    .story-description {
        font-size: 16px;
    }

    .story-metrics {
        gap: 20px;
    }

    .philosophy-quote::before {
        font-size: 60px;
        left: -20px;
    }

    .philosophy-principles {
        grid-template-columns: 1fr;
    }

    .journey-timeline::before {
        left: 20px;
    }

    .journey-item {
        grid-template-columns: auto 1fr;
        gap: 20px;
    }

    .journey-year {
        grid-column: 1 / -1;
        text-align: left;
        margin-bottom: -20px;
    }

    .journey-marker {
        order: 1;
    }

    .journey-content {
        order: 2;
    }

    .journey-item:nth-child(even) .journey-year,
    .journey-item:nth-child(even) .journey-content {
        order: initial;
        text-align: left;
    }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.story-card {
    animation: fadeInScale 0.8s ease forwards;
    opacity: 0;
}

.story-card:nth-child(1) { animation-delay: 0.1s; }
.story-card:nth-child(2) { animation-delay: 0.2s; }
.story-card:nth-child(3) { animation-delay: 0.3s; }

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}
