/* --- NATIVE RESET TO RETAIN TAILWIND LAYOUT --- */
        * {
            box-sizing: border-box;
        }
        h1, p {
            margin: 0;
        }
        input {
            font-family: inherit;
        }

        body {
            background-color: #000;
            color: #ffffff;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            margin: 0;
            padding: 20px 60px 40px 60px;
            -webkit-font-smoothing: antialiased;
        }

        /* --- BACK TO TOP ARROW STYLE --- */
        #back-to-top {
            position: fixed;
            bottom: 30px;
            right: 60px; 
            width: 40px;
            height: 40px;
            background-color: transparent; 
            color: #ffffff;                  
            border: none;                 
            font-size: 28px;              
            font-weight: 100;             
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100;
            opacity: 0; 
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
            transform-origin: bottom center; 
        }

        #back-to-top:hover {
            transform: scale(1.5) translateY(-4px);
            opacity: 1 !important;
        }

        #back-to-top.show {
            opacity: 1; 
            visibility: visible;
        }

        .corner-data {
            position: absolute;
            top: 30px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.4);
            letter-spacing: 0.1em;
            z-index: 10;
        }
        
        .corner-right { 
            right: 60px; 
            display: flex;
            justify-content: flex-end;
        }

        .search-wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
            padding-bottom: 2px;
            width: auto;
        }

        .search-icon {
            width: 12px;
            height: 12px;
            color: rgba(255, 255, 255, 1);
        }

        .search-input {
            background: transparent;
            border: none;
            color: #ffffff;
            font-size: 12px;
            letter-spacing: 0.05em;
            font-family: inherit;
            outline: none;
            width: 100%;
            text-align: left; 
        }
        .search-input::placeholder {
            color: rgba(255, 255, 255, 1);
        }

        .logo-container {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: flex-start; 
            margin-bottom: 30px; 
        }

        .logo-wrapper {
            position: relative;
            display: inline-block;
        }

        .logo-wrapper img {
            max-width: 200px; 
            height: auto;
            z-index: 2;
            position: relative;
            cursor: pointer;
        }
        
        .star {
            position: absolute;
            pointer-events: none;
            z-index: 3;
            width: 14px;   
            height: 14px;  
            opacity: 0;
            transform: translate(-50%, -50%);
            animation: starFade 0.8s ease-out forwards;
        }

        .star::before {
            content: '';
            position: absolute;
            background-color: #ffffff;
            top: 50%;
            left: 0;
            width: 100%;
            height: 2px;
            transform: translateY(-50%);
        }

        .star::after {
            content: '';
            position: absolute;
            background-color: #ffffff;
            top: 0;
            left: 50%;
            width: 2px;
            height: 100%;
            transform: translateX(-50%);
        }

        @keyframes starFade {
            0% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
            20% { opacity: 1; }
            100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
        }
        
        .top-section, .list-header, .project-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        .info-column, .filter-column {
            display: flex;
            flex-direction: column;
        }

        .label-wrapper-header {
            padding-bottom: 6px;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            height: 22px; 
        }

        .content-wrapper-header {
            border-top: 1px solid #ffffff;
            padding-top: 10px; 
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .top-section { margin-bottom: 120px; }

        .label-small, .header-label {
            font-size: 12px;
            letter-spacing: 0.05em;
            color: rgba(255, 255, 255, 0.4); 
        }

        .header-label.sortable {
            cursor: pointer;
            transition: color 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .header-label.sortable:hover {
            color: #ffffff;
        }

        .main-title {
            font-size: 30px;
            font-weight: 500;
            line-height: 1.1;
            letter-spacing: -0.02em;
            margin-bottom: 10px;
        }
        .description-text {
            font-size: 17px;
            line-height: 1.4;
            max-width: 400px;
        }

        .filter-section {
            display: grid;
            grid-template-columns: repeat(4, 1fr); 
            gap: 10px 40px;
            align-items: flex-start;
        }

        .chip {
            font-size: 12px;
            color: #fff;
            opacity: 0.4;
            cursor: pointer;
            transition: opacity 0.2s ease, color 0.2s ease;
            text-transform: capitalize;
            white-space: nowrap;
        }
        
        .chip:hover {
            opacity: 1;
            color: #ffffff !important;
        }
        
        .chip.active { opacity: 1; }

        .list-header {
            position: sticky;
            top: 0;
            background-color: #000; 
            padding-top: 10px;      
            padding-bottom: 12px;
            z-index: 10;            
            border-bottom: 1px solid transparent;
            transition: border-color 0.2s ease;
        }

        .list-header.scrolled {
            border-bottom-color: #ffffff;
        }

        .project-content-header {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            align-items: start;
        }

        .project-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr); 
            gap: 40px;
            align-items: baseline;
        }

        .title-wrapper {
            grid-column: span 2;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
            padding-top: 2px;
        }

        .project-title {
            font-size: 26px; 
            font-weight: 500;
            letter-spacing: -0.02em;
            line-height: 1.1;
            white-space: nowrap; 
            overflow: hidden;
            text-overflow: ellipsis; 
        }

        .project-meta-wrapper {
            display: grid;
            grid-template-columns: repeat(4, 1fr); 
            gap: 40px;
            align-items: start;
            margin-top: 12px;
        }

        .description-grid {
            grid-column: span 2; 
            display: grid;
            grid-template-rows: auto;
        }

        .project-description {
            font-size: 14px;
            line-height: 1.5;
            color: #ffffff;
            padding-right: 20px;
            display: block;
            transition: opacity 0.3s ease;
        }

        .project-row {
            position: relative;
            padding: 10px 0 32px 0; 
            border-top: 1px solid #ffffff;
            align-items: start;
            z-index: 2;
            cursor: pointer;
            transition: box-shadow 0.1s ease;
        }

        .project-row:hover {
            box-shadow: inset 0 4px 0 0 #ffffff;
        }

        #archive-list {
            position: relative;
        }

        .project-meta {
            font-size: 12px;
            color: #ffffff;
            padding-top: 0px;
        }

        .image-container-col {
            grid-column: span 2; 
        }

        .project-image-fixed {
            width: 100%;
            aspect-ratio: 16 / 9; 
            background-size: cover; 
            background-repeat: no-repeat;
            background-position: center right; 
            opacity: 1;
            background-color: transparent;
        }
        
        .sort-arrow {
            font-size: 12px;
            opacity: 0;
            transition: opacity 0.2s ease;
        }
        
        .header-label.sortable:hover .sort-arrow {
            opacity: 0.5;
        }
        
        .header-label.active-sort {
            color: #ffffff !important;
        }
        
        .header-label.active-sort .sort-arrow {
            opacity: 1 !important;
        }