@font-face {
    font-family: RaptorText-Black;
    src: url(font/RaptorText-Black.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Column 1: Left Sidebar - Fixed */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #000000;
    padding: 60px 30px;
    z-index: 100;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-intro {
    font-size: 1.3em;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.sidebar-bio {
    font-size: 0.9em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    font-size: 0.9em;
    transition: color 0.3s;
}

.sidebar-link:hover {
    color: #ffffff;
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
    margin-top: 20px;
    display: inline-block;
}

.back-link:hover {
    color: #ffffff;
}

/* Column 2: Freeform Canvas Area */
.canvas-area {
    margin-left: 280px;
    padding: 60px;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: start;
}

/* Asset Base Styles */
.asset {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.asset:hover {
    transform: scale(1.01);
}

.asset img {
    width: 100%;
    height: auto;
    display: block;
}

/* ROW 1: YouTube Video Embed - Full Width */
.video-container {
    grid-column: span 12;
    grid-row: 1;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* ROW 2: Project info (left) + Description (right) */
.asset-2 { 
    grid-column: span 4; 
    grid-row: 2; 
}

.asset-3 { 
    grid-column: span 8; 
    grid-row: 2; 
}

/* ROW 3-6: Photo Grid (3 columns, 4 rows) */
.photo-grid {
    grid-column: span 4;
}

.asset-4 { grid-row: 3; }
.asset-5 { grid-row: 3; }
.asset-6 { grid-row: 3; }

.asset-7 { grid-row: 4; }
.asset-8 { grid-row: 4; }
.asset-9 { grid-row: 4; }

.asset-10 { grid-row: 5; }
.asset-11 { grid-row: 5; }
.asset-12 { grid-row: 5; }

.asset-13 { grid-row: 6; }
.asset-14 { grid-row: 6; }
.asset-15 { grid-row: 6; }

/* ROW 7+: Full width images */
.full-width {
    grid-column: span 12;
}

.asset-16 { grid-row: 7; }
.asset-17 { grid-row: 8; }
.asset-18 { grid-row: 9; }
.asset-19 { grid-row: 10; }
.asset-20 { grid-row: 11; }
.asset-21 { grid-row: 12; }
.asset-22 { grid-row: 13; }
.asset-23 { grid-row: 14; }
.asset-24 { grid-row: 15; }

/* Special styling for project info blocks */
.project-info-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.project-info-title {
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.project-info-meta {
    font-size: 0.9em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.project-info-year {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.project-description-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.project-description-text {
    font-size: 0.95em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .sidebar {
        width: 240px;
    }
    
    .canvas-area {
        margin-left: 240px;
        padding: 50px 40px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 40px 30px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .canvas-area {
        margin-left: 0;
        padding: 40px 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    /* Reset grid positioning for all assets */
    .video-container,
    .asset-2, .asset-3,
    .asset-4, .asset-5, .asset-6,
    .asset-7, .asset-8, .asset-9,
    .asset-10, .asset-11, .asset-12,
    .asset-13, .asset-14, .asset-15,
    .asset-16, .asset-17, .asset-18,
    .asset-19, .asset-20, .asset-21,
    .asset-22, .asset-23, .asset-24 {
        grid-column: unset;
        grid-row: unset;
        width: 100%;
    }
    
    .photo-grid {
        grid-column: unset;
    }
    
    .full-width {
        grid-column: unset;
    }
}

@media (max-width: 768px) {
    .sidebar {
        padding: 30px 20px;
    }
    
    .sidebar-intro {
        font-size: 1.1em;
    }
    
    .canvas-area {
        padding: 30px 20px;
        gap: 15px;
    }
    
    .project-info-title {
        font-size: 1.5em;
    }
}
