:root {
    --c-blk: #111111;
    --c-wht: #ffffff;
    --c-pur: #8a2be2;
    --c-placeholder: transparent; /* Changed to transparent for clean look */
}

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

body {
    font-family: 'Bliss Pro', Courier, monospace;
    font-weight: 400; 
    background-color: var(--c-wht);
    color: var(--c-blk);
    line-height: 1.5;
    overflow-x: hidden;
}

.bg-black { background-color: var(--c-blk); }
.bg-purple { background-color: var(--c-pur); }

h1 { font-size: 3.5rem; font-weight: 700; color: var(--c-pur); margin-bottom: 15px; text-transform: uppercase; }
h2 { font-size: 2rem; font-weight: 700; color: var(--c-pur); margin-bottom: 20px; text-transform: uppercase; }

p { 
    font-size: 1rem; 
    font-weight: 400; 
    color: var(--c-blk); 
    text-align: justify; /* Justified text */
}

.caption-text { text-align: center; font-weight: 700; margin-top: 15px; text-transform: uppercase; font-size: 0.9rem; }

.boxed-text {
    background-color: transparent; /* Clean look, no boxed bg */
    border: none; /* No borders */
    padding: 0;
    z-index: 5;
}

.boxed-text.title-only {
    padding: 0;
    margin-bottom: 20px;
}
.boxed-text.title-only h2 { margin-bottom: 0; }

.full-width-text {
    width: 100%;
    margin-bottom: 40px;
}

.page-transition-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 9999; pointer-events: none; transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.origin-left { transform-origin: left; }
.origin-top { transform-origin: top; }
.origin-bottom { transform-origin: bottom; }
.reveal-x { transform: scaleX(0); }
.reveal-y { transform: scaleY(0); }
.cover-x { transform: scaleX(1); }
.cover-y { transform: scaleY(1); }

.wireframe-nav {
    position: fixed; top: 0; width: 100%; height: 60px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--c-blk); background-color: var(--c-wht); z-index: 1000; padding: 0 5%;
}

.logo-link.dynamic-logo-container {
    height: 70px;
    width: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    padding: 0;
    overflow: visible;
}

.dynamic-logo-svg { height: 100%; width: auto; overflow: visible; }
.triangle-group { transform-origin: 50% 50%; transition: transform 1s ease; }
.triangle { fill: var(--c-blk); stroke: var(--c-blk); stroke-width: 1; transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1); transform-box: fill-box; }
.triangle-1 { transform-origin: 50% 66.5%; } 
.triangle-2 { transform-origin: 50% 66.5%; } 
.triangle-3 { transform-origin: 50% 66.5%; } 
.logo-link.dynamic-logo-container:hover .triangle { fill: var(--c-pur); stroke: var(--c-pur); transform: scale(1.2) rotate(360deg); }
.logo-link.dynamic-logo-container:hover .triangle-group { transform: rotate(-180deg); }

.nav-item { display: flex; align-items: center; padding: 0 30px; text-decoration: none; color: var(--c-blk); border-left: 1px solid var(--c-blk); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; transition: background-color 0.2s, color 0.2s; }
.nav-group { display: flex; }
.nav-group .nav-item:first-child { border-left: 1px solid var(--c-blk); }
.brand { border-left: none; border-right: 1px solid var(--c-blk); font-weight: 700; gap: 10px; }
.nav-item:hover, .nav-item.active { background-color: var(--c-blk); color: var(--c-wht); }

.project-layout { width: 85%; max-width: 1400px; margin: 140px auto 100px auto; }

/* Hero Split Vertical (Special for vertical cover) */
.hero-split-vertical { display: flex; gap: 60px; margin-bottom: 120px; align-items: stretch; }
.hero-cover-wrapper { flex: 1; height: auto; display: flex; align-items: center; }
.hero-cover-box { width: 100%; height: 100%; }
.hero-cover-box img { width: 100%; height: 100%; object-fit: cover; } /* Portrait image covers the area */
.hero-info-vertical { flex: 1.2; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 20px; }
.hero-logo-line { margin-bottom: 30px; border-bottom: 1px solid var(--c-blk); padding-bottom: 20px; }
.project-logo-svg { scale: 1.6;height: 60px; width: auto; max-width: 100%; object-fit: contain; }
.title-meta { margin-bottom: 30px; }
.meta-data-vertical { font-weight: 500; color: var(--c-blk); text-transform: uppercase; font-size: 0.9rem; display: flex; flex-direction: column; gap: 10px; }
.collaborator-link { color: var(--c-pur); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--c-pur); transition: color 0.2s, border-color 0.2s; }
.collaborator-link:hover { color: var(--c-blk); border-color: var(--c-blk); }

.section-divider { margin-bottom: 40px; border-top: 2px solid var(--c-blk); padding-top: 40px; }
.technical-section { margin-bottom: 100px; }

/* Grids */
.four-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; margin-bottom: 20px; }

/* Clean Image Box (No Borders, No Bg) */
.clean-img-box { width: 100%; height: auto; display: flex; align-items: center; justify-content: center; overflow: hidden; background-color: transparent; border: none; }
.clean-img-box img { width: 100%; height: auto; display: block; object-fit: contain; }
.zoomable { cursor: zoom-in; transition: transform 0.3s; }
.zoomable:hover { transform: scale(1.02); }

/* Standard Overlap */
.overlap-row { display: flex; align-items: center; margin-bottom: 100px; position: relative; width: 100%; }
.overlap-img { width: 65%; height: auto; min-height: 400px; display: flex; align-items: center; z-index: 1; }
.overlap-img img { width: 100%; height: 100%; object-fit: contain; background-color: transparent; }
.overlap-text { border: 1px solid var(--c-blk) ; padding: 20px; background-color: var(--c-wht); width: 45%; margin-left: -5%; z-index: 2; position: relative; } /* Increased overlap */
.overlap-row.reverse { flex-direction: row-reverse; }
.overlap-row.reverse .overlap-text { margin-left: 0; margin-right: -5%; }

/* Video Container */
.video-container-wide { width: 100%; aspect-ratio: 16 / 9; background-color: var(--c-blk); border: 1px solid var(--c-blk); margin-bottom: 40px; }

/* Custom Ratio 60/40 for final collage */
.custom-ratio-row-6040 .sixty-percent { width: 60%; }
.custom-ratio-row-6040 .forty-percent { width: 45%; margin-left: -5%; } /* Text is 40% logically, width slightly larger for alignment */

.project-footer { display: flex; justify-content: space-between; height: 60px; width: 85%; max-width: 1400px; margin: 0 auto 100px auto; border: 1px solid var(--c-blk); }
.footer-link { width: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--c-blk); font-weight: 700; transition: background-color 0.2s, color 0.2s; text-transform: uppercase; }
.footer-link:first-child { border-right: 1px solid var(--c-blk); }
.footer-link:hover { background-color: var(--c-pur); color: var(--c-wht); }

.lightbox { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(17, 17, 17, 0.95); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-content { max-width: 90vw; max-height: 90vh; object-fit: contain; border: 1px solid var(--c-wht); }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: var(--c-wht); font-size: 3rem; cursor: pointer; transition: color 0.2s; }
.lightbox-close:hover { color: var(--c-pur); }

@media (max-width: 900px) {
    
    .project-layout, .project-footer { width: 95%; }
    .hero-split-vertical { flex-direction: column; gap: 40px; }
    .hero-info-vertical { padding-top: 0; flex: 1; }
    
    .overlap-row, .overlap-row.reverse { flex-direction: column; }
    .overlap-img { width: 100%; min-height: auto; }
    .overlap-text, .overlap-row.reverse .overlap-text { width: 100%; margin: 20px 0 0 0; }
    
    .four-grid { grid-template-columns: 1fr 1fr; }
    
    .custom-ratio-row-6040 .sixty-percent { width: 100%; }
    .custom-ratio-row-6040 .forty-percent { width: 100%; margin: 20px 0 0 0; }

    .logo-link.dynamic-logo-container { display: none; }
    .wireframe-nav { padding: 0; }
}