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

        :root {
            --color: #ffffff;
            --background: #000000;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--background);
            color: var(--color);
            font-size: 16px;
            line-height: 24px;
            letter-spacing: -0.01em;
            font-weight: 400;
        }

        a {
            color: inherit;
            text-decoration: none;
            cursor: pointer;
        }

        /* Header */
        header {
            position: relative;
            margin: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 10;
        }

        header > a.logo {
            font-size: 16px;
            color: #ffffff;
            font-weight: 500;
        }

        header ul {
            list-style: none;
            display: flex;
            gap: 16px;
        }

        header ul.nav {
            position: absolute;
            right: 28px;
        }

        header ul.nav li:nth-of-type(2) {
            display: none;
        }

        /* Main */
        main {
        }

        /* Projects List View */
        #projects {
            margin: calc(50vh - 48px) 16px 50vh 16px;
        }

        #projects nav a {
            display: block;
            opacity: 0.3;
            transition: none;
            position: relative;
            cursor: pointer;
        }

        #projects nav a.img {
            opacity: 1 !important;
            transition: none !important;
        }

        #projects nav a img {
            display: none;
            cursor: pointer;
            transition: none;
        }

        #projects nav a > span {
            display: inline;
        }

        #projects nav a > span span:nth-of-type(2) {
            opacity: 0.5;
            margin-left: 0.3em;
        }


        /* Info view */
        body.info #projects {
            display: none;
        }

        body.info .info-view {
            display: block;
        }

        body.info header ul.nav li:nth-of-type(1) {
            display: none;
        }

        body.info header ul.nav li:nth-of-type(2) {
            display: block;
        }

        .info-view {
            display: none;
            max-width: 800px;
            margin: 80px auto;
            padding: 0 30px;
            line-height: 1.6;
        }

        .info-view h1 {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 20px;
        }

        .info-view p {
            margin-bottom: 15px;
        }

        .info-view a {
            text-decoration: underline;
        }

        .info-view .info-link {
            display: block;
            opacity: 0.3;
            position: relative;
            text-decoration: none;
            transition: opacity 0.2s;
            margin: 32px 0;
        }

        .info-view .info-link::before {
            content: '';
            width: 0px;
            height: 2px;
            top: 18px;
            display: block;
            float: left;
            position: relative;
            background: var(--color);
            transition: width 0.4s cubic-bezier(0.075, 0.82, 0.165, 1),
                        margin 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
        }

        .info-view .info-link:hover {
            opacity: 1;
        }

        .info-view .info-link:hover::before {
            width: 24px;
            margin-right: 12px;
        }

        .info-view .info-bio p {
            font-size: 14px;
            line-height: 22px;
            margin-bottom: 12px;
        }

        .info-view .info-bio .bio-toggle {
            display: block;
            opacity: 0.5;
            cursor: pointer;
            margin-top: 8px;
            font-size: 18px;
            transition: opacity 0.2s;
            user-select: none;
        }

        .info-view .info-bio .bio-toggle:hover {
            opacity: 1;
        }

        .info-view .info-bio .bio-more {
            display: none;
        }

        .info-view .info-bio .bio-more.active {
            display: block;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--background);
            z-index: 100;
            overflow-y: auto;
        }

        .modal.active {
            display: block;
        }

        .modal-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 80px 30px;
        }

        .modal-close {
            position: fixed;
            top: 16px;
            right: 28px;
            font-size: 16px;
            cursor: pointer;
            z-index: 101;
        }

        .modal-close {
            opacity: 0.5;
        }

        .modal-close:hover {
            opacity: 1;
        }

        .nav-close {
            opacity: 0.5;
            transition: opacity 0.2s;
        }

        .nav-close:hover {
            opacity: 1;
        }

        header ul.nav a.nav-close::before {
            display: none;
            width: 0;
            margin: 0;
        }

        .modal h2 {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 8px;
        }

        .modal .year {
            font-size: 16px;
            opacity: 0.5;
            margin-bottom: 20px;
        }

        .modal .tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        .modal .tag {
            font-size: 10px;
            background: rgba(255, 255, 255, 0.12);
            padding: 1px 8px;
            border-radius: 20px;
            line-height: 1.4;
        }

        .modal .description {
            font-size: 16px;
            line-height: 24px;
            margin-bottom: 20px;
        }

        .modal .link {
            font-size: 16px;
            display: block;
            margin: 32px 0 40px;
            text-decoration: none;
            opacity: 0.3;
            position: relative;
            transition: opacity 0.2s;
        }

        .modal .link::before {
            content: '';
            width: 0px;
            height: 2px;
            top: 18px;
            display: block;
            float: left;
            position: relative;
            background: var(--color);
            transition: width 0.4s cubic-bezier(0.075, 0.82, 0.165, 1),
                        margin 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
        }

        .modal .link:hover {
            opacity: 1;
        }

        .modal .link:hover::before {
            width: 24px;
            margin-right: 12px;
        }
        .modal .gallery {
            display: flex;
            flex-direction: column;
            gap: 40px;
            margin-top: 40px;
        }

        .modal .gallery img,
        .modal .gallery video {
            width: 100%;
            max-width: 100%;
            height: auto;
            display: block;
            object-fit: contain;
        }


        /* Desktop styles (1020px+) */
        @media screen and (min-width: 1020px) {
            body {
                font-size: 24px;
                line-height: 36px;
            }

            header {
                margin: 24px;
            }

            header > a.logo {
                font-size: 24px;
                color: #ffffff;
                font-weight: 500;
            }

            header ul {
                gap: 24px;
            }


            header ul.nav {
                right: 44px;
            }

            /* List view desktop */
            body.list #projects {
                margin: 160px 24px 160px calc(8.333% + 48px);
            }

            body.list #projects nav a {
                margin-bottom: 0;
            }

            body.list #projects nav a::before {
                content: '';
                width: 0px;
                height: 2px;
                top: 18px;
                display: block;
                float: left;
                position: relative;
                background: var(--color);
                transition: width 0.4s cubic-bezier(0.075, 0.82, 0.165, 1),
                            margin 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
            }

            body.list #projects nav a:hover::before {
                width: 24px;
                margin-right: 12px;
            }

            body.list #projects nav a img {
                display: none;
                position: fixed;
                width: 50vw;
                max-width: 800px;
                max-height: 600px;
                height: auto;
                object-fit: contain;
                top: 50%;
                right: 8%;
                transform: translateY(-50%);
                pointer-events: none;
            }

            body.list #projects nav a:hover {
                opacity: 1;
            }

            body.list #projects nav a:hover img {
                display: block;
            }


            .modal-content {
                padding: 160px 48px;
            }

            .modal-close {
                top: 24px;
                right: 44px;
                font-size: 24px;
            }

            .modal h2 {
                font-size: 24px;
            }

            .modal .year,
            .modal .description,
            .modal .link {
                font-size: 24px;
                line-height: 36px;
            }

            .modal .gallery {
                gap: 60px;
            }

            .info-view {
                font-size: 24px;
                line-height: 36px;
                padding: 0 48px;
            }

            .info-view h1 {
                font-size: 24px;
            }
        }

        /* Tablet styles (760px - 1019px) */
        @media screen and (min-width: 760px) and (max-width: 1019px) {
            body {
                font-size: 18px;
                line-height: 28px;
            }

        }

        /* Mobile */
        @media (max-width: 759px) {
            #projects {
                margin: calc(50vh - 48px) 16px 50vh 16px !important;
            }

            #projects nav a {
                margin-bottom: 4px;
            }

            #projects nav a img {
                display: none;
                position: fixed;
                left: 50%;
                transform: translateX(-50%);
                width: 50vw;
                max-width: 250px;
                max-height: 30vh;
                bottom: 20px;
                object-fit: contain;
                z-index: 5;
                pointer-events: auto;
            }

            #projects nav a.img img {
                display: block;
            }


            .modal-content {
                padding: 60px 20px;
            }

            .info-view {
                margin: 60px auto;
                padding: 0 20px;
            }
        }
