@import url('/assets/css/site.css');


        :root {
            --retro-dot-pattern: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
            --retro-dot-size: 20px 20px;
            --crt-scanlines: repeating-linear-gradient(0deg,
                rgba(0, 0, 0, 0.35) 0px,
                rgba(0, 0, 0, 0.35) 1px,
                rgba(255, 255, 255, 0.12) 1px,
                rgba(255, 255, 255, 0.12) 2px,
                transparent 2px,
                transparent 4px);
            --retro-base-color: #0a0a0a;
            --header-height: 4.5rem;
        }

        body {
            font-family: 'Press Start 2P', 'Courier New', monospace;
            background-color: var(--retro-base-color);
            background-attachment: fixed;
            color: #ffffff;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background-color: rgba(10, 10, 10, 0.92);
            background-image: var(--retro-dot-pattern);
            background-size: var(--retro-dot-size);
            border-bottom: 2px solid #333;
        }

        nav::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(rgba(0, 0, 0, 0.25) 1px, transparent 1px);
            background-size: 100% 3px;
            pointer-events: none;
            z-index: -1;
        }

        .hover-crt {
            position: relative;
            overflow: hidden;
        }

        .hover-crt::after {
            content: '';
            position: absolute;
            inset: 0;
            background-image: var(--crt-scanlines);
            background-size: 100% 3px;
            border-radius: inherit;
            opacity: 0;
            transition: opacity 0.2s ease;
            pointer-events: none;
        }

        .hover-crt:hover::after,
        .hover-crt:focus-visible::after {
            opacity: 0.45;
        }

        .site-gutter {
            width: min(100%, 1200px);
            margin-inline: auto;
            padding-left: clamp(1.5rem, 6vw, 5rem);
            padding-right: clamp(1.5rem, 6vw, 5rem);
        }

        .nav-bar {
            min-height: var(--header-height);
            padding-block: 0.75rem;
        }

        .nav-link {
            position: relative;
            transition: all 0.2s ease;
            text-transform: none;
            letter-spacing: normal;
            color: #ffffff;
            border-color: #ffffff !important;
            display: inline-flex;
            align-items: center;
        }

        .nav-link:hover,
        .nav-link.active {
            background-color: #ffffff;
            color: #000000;
        }

        .brand-logo {
            height: 2rem;
            width: auto;
            display: block;
        }

        .retro-section {
            background-color: rgba(12, 12, 12, 0.9);
        }

        .retro-dots {
            background-image: var(--retro-dot-pattern);
            background-size: var(--retro-dot-size);
        }

        .main-content {
            padding-top: var(--header-height);
        }

        @media (min-width: 768px) {
            .main-content {
                padding-top: calc(var(--header-height) + 0.75rem);
            }
        }

        .project-grid {
            display: grid;
            gap: 2rem;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        }

        .project-item {
            position: relative;
            display: flex;
            flex-direction: column;
            background-color: #111;
            border: 2px solid #333;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            color: #fff;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            min-height: 100%;
            cursor: pointer;
        }

        .project-image-wrapper {
            width: 100%;
            aspect-ratio: 1 / 1;
            background-color: #181818;
            border-bottom: 1px solid #333;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .project-item img {
            width: 90%;
            height: 90%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .project-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            border-color: #666;
            background: #1a1a1a;
        }

        .project-item:hover img {
            transform: scale(1.03);
        }

        .project-item:focus-visible {
            outline: 2px solid #fcd34d;
            outline-offset: 2px;
        }

        .project-item .project-title {
            font-size: 1rem;
            font-weight: bold;
            margin: 1.25rem 1rem 0.75rem;
            color: #fff;
            line-height: 1.4;
            padding: 5px;
        }

        .project-item .project-summary {
            font-size: 0.8rem;
            color: #dbe6ff;
            margin: 0 1rem 1.5rem;
            line-height: 1.6;
            min-height: 3.6rem;
            padding: 5px;
        }

        .project-card {
            background: rgba(20, 20, 20, 0.85);
            border: 2px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
            transition: transform 0.2s ease, border-color 0.2s ease;
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-6px);
            border-color: rgba(252, 211, 77, 0.65);
        }

        .project-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            background: #1f2937;
        }

        .project-card h3 {
            font-size: 1rem;
            margin-bottom: 0.75rem;
        }

        .project-card p {
            font-size: 0.85rem;
            color: #d1d5db;
        }

        .project-meta {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            margin-bottom: 1rem;
            font-size: 0.75rem;
            color: #fcd34d;
        }

        .project-meta .project-type {
            color: #9ca3af;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .project-dates {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.7rem;
            color: #f59e0b;
            background: rgba(245, 158, 11, 0.12);
            border: 1px solid rgba(245, 158, 11, 0.3);
            padding: 0.35rem 0.75rem;
            border-radius: 999px;
            margin: 0.5rem 1rem 1.25rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .project-dates::before {
            content: '';
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background-color: currentColor;
        }

        .project-summary {
            font-size: 0.9rem;
            color: #f9fafb;
            font-weight: 600;
            margin-bottom: 0.5rem;
            padding: 5px;
        }

        .project-detail {
            font-size: 0.8rem;
            color: #d1d5db;
            margin-bottom: 0.75rem;
            line-height: 1.7;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.75rem;
            display: none;
        }

        .project-tag {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            background: rgba(255, 255, 255, 0.08);
            color: #fcd34d;
            font-size: 0.7rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .project-card-actions {
            margin-top: auto;
            padding: 0 1rem 1.25rem 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            border-top: 1px solid #2d2d2d;
            padding-top: 1.25rem;
        }

        .project-card-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.65rem 1rem;
            border-radius: 0.75rem;
            border: 2px solid #333;
            background: rgba(0, 0, 0, 0.7);
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-size: 0.7rem;
            text-decoration: none;
            cursor: pointer;
            transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
        }

        .project-card-button:hover,
        .project-card-button:focus-visible {
            background-color: #ffffff;
            color: #000000;
            border-color: #fcd34d;
            transform: translateY(-1px);
            outline: none;
        }

        .project-card-button.go {
            background: #fcd34d;
            color: #000000;
            border-color: #fcd34d;
        }

        .project-card-button.go:hover,
        .project-card-button.go:focus-visible {
            background: #fde68a;
            border-color: #facc15;
        }

        .project-links {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }

        .project-link-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            padding: 0.75rem 1.25rem;
            border-radius: 8px;
            border: 2px solid #333;
            background: rgba(0, 0, 0, 0.65);
            color: #ffffff;
            text-decoration: none;
            text-transform: uppercase;
            font-size: 0.75rem;
            letter-spacing: 0.08em;
            transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
            width: 100%;
            text-align: center;
            cursor: pointer;
            font-weight: 600;
        }

        .project-link-button:hover {
            background-color: #ffffff;
            color: #000000;
            border-color: #fcd34d;
            transform: translateY(-2px);
        }

        .project-link-button svg {
            width: 1.25rem;
            height: 1.25rem;
        }

        .site-links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
        }

        .site-link-card {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            padding: 1.5rem;
            border-radius: 8px;
            border: 2px solid #333;
            background: rgba(0, 0, 0, 0.6);
            color: #ffffff;
            text-decoration: none;
            transition: transform 0.2s ease, border-color 0.2s ease;
        }

        .site-link-card:hover {
            transform: translateY(-4px);
            border-color: #fcd34d;
        }

        .site-link-card .site-link-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .site-link-card h3 {
            margin: 0;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .site-link-card p {
            margin: 0;
            font-size: 0.9rem;
            color: #d1d5db;
            line-height: 1.6;
        }

        .site-link-card svg {
            width: 1.75rem;
            height: 1.75rem;
        }

        .project-details {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            padding: clamp(1.25rem, 5vw, 3rem);
            background: rgba(5, 5, 5, 0.85);
            backdrop-filter: blur(7px);
            z-index: 1000;
            overflow-y: auto;
        }

        .project-details__content {
            position: relative;
            width: min(960px, 100%);
            max-height: min(90vh, 860px);
            display: grid;
            gap: clamp(1rem, 3vw, 2.25rem);
            padding: clamp(1.5rem, 4vw, 2.75rem);
            border-radius: 18px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: linear-gradient(145deg, rgba(18, 18, 18, 0.95), rgba(32, 32, 32, 0.9));
            box-shadow:
                0 20px 55px rgba(0, 0, 0, 0.65),
                0 0 0 1px rgba(255, 255, 255, 0.08);
            color: #ffffff;
            overflow: hidden;
        }

        .project-details__media {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: clamp(0.75rem, 2vw, 1.5rem);
            border-radius: 14px;
            background: rgba(0, 0, 0, 0.45);
            border: 1px solid rgba(255, 255, 255, 0.08);
            min-height: 220px;
            overflow: hidden;
        }

        .project-details__media img {
            width: 100%;
            height: auto;
            max-height: min(58vh, 580px);
            object-fit: contain;
            border-radius: 12px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
            border: 1px solid rgba(255, 255, 255, 0.16);
            background-color: #050505;
        }

        .project-details__body {
            display: flex;
            flex-direction: column;
            gap: 1.1rem;
            overflow: auto;
            padding-bottom: 0.25rem;
        }

        #projectTitle {
            font-size: clamp(1.35rem, 2vw, 1.85rem);
            font-weight: 700;
            margin: 0;
            text-align: left;
        }

        #projectDescription {
            font-size: 0.95rem;
            line-height: 1.7;
            margin: 0;
            color: #e5e7eb;
        }

        #projectMeta {
            margin: 0;
            font-size: 0.8rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #9ca3af;
        }

        .project-details .project-tags {
            margin-top: 0.25rem;
        }

        .project-details .project-links {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 0.75rem;
            margin-top: 0.5rem;
        }

        .close-btn {
            position: absolute;
            top: 14px;
            right: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 9999px;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(10, 10, 10, 0.65);
            color: #f3f4f6;
            font-size: 1.5rem;
            line-height: 1;
            cursor: pointer;
            transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
        }

        .close-btn:hover,
        .close-btn:focus-visible {
            background: #fcd34d;
            border-color: #fcd34d;
            color: #0a0a0a;
            transform: translateY(-1px);
        }

        @media (min-width: 900px) {
            .project-details__content {
                grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
                align-items: start;
            }

            .project-details__body {
                max-height: 100%;
            }
        }

        .status-message {
            margin-top: 3rem;
            text-align: center;
            color: #f87171;
            font-size: 0.9rem;
        }
