
        :root {
            --ink: #0a0a0a;
            --paper: #f5f2ec;
            --mid: #e8e3d8;
            --gray: #5a5a5a;
            --border: 3px solid #0a0a0a;
            --social-icon-filter: none;
            --social-icon-filter-hover: invert(1);
        }

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

        html.dark-mode {
            --ink: #f0ece4;
            --paper: #0a0a0a;
            --mid: #1a1a1a;
            --gray: #9a9a9a;
            --social-icon-filter: invert(1);
            --social-icon-filter-hover: none;
        }

        body {
            background: var(--paper);
            color: var(--ink);
            font-family: 'Dosis', sans-serif;
            font-weight: 500;
            font-size: 16px;
            line-height: 1.5;
            transition: background 0.3s, color 0.3s;
        }

        body.dark-mode {
            --ink: #f0ece4;
            --paper: #0a0a0a;
            --mid: #1a1a1a;
            --gray: #9a9a9a;
        }

        /* === HEADER === */
        header {
            position: sticky; top: 0; z-index: 100;
            background: var(--paper);
            border-bottom: var(--border);
            padding: 0 2rem;
            display: flex; align-items: center; justify-content: space-between;
            height: 60px;
            transition: background 0.3s;
        }

        .logo {
            font-family: 'Amatic SC', sans-serif; font-weight: 700;
            font-size: 2rem; color: var(--ink); text-decoration: none;
            letter-spacing: 2px; text-transform: uppercase;
        }

        nav { display: flex; align-items: center; gap: 0; }

        nav a {
            font-family: 'Dosis', sans-serif; font-weight: 700;
            font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px;
            color: var(--ink); text-decoration: none;
            padding: 0 1rem; height: 60px;
            display: flex; align-items: center;
            border-left: 1px solid var(--ink);
            transition: background 0.2s, color 0.2s;
        }

        nav a:hover, nav a.active { background: var(--ink); color: var(--paper); }

        .nav-icons { display: flex; align-items: center; border-left: var(--border); }

        .nav-icons a {
            width: 44px; height: 60px;
            display: flex; align-items: center; justify-content: center;
            border-left: 1px solid var(--ink); color: var(--ink);
            text-decoration: none; transition: background 0.2s, color 0.2s;
        }

        .nav-icons a:hover { background: var(--ink); color: var(--paper); }
        .nav-icons a:first-child { border-left: none; }

        .social-icon-img {
            width: 18px;
            height: 18px;
            display: block;
            object-fit: contain;
            filter: var(--social-icon-filter);
        }

        .nav-icons a:hover .social-icon-img,
        .nav-icons a:focus-visible .social-icon-img {
            filter: var(--social-icon-filter-hover);
        }

        .toggle-btn {
            width: 44px; height: 60px; border: none; background: none;
            cursor: pointer; border-left: 1px solid var(--ink);
            color: var(--ink);
            display: flex; align-items: center; justify-content: center;
            transition: background 0.2s, color 0.2s;
            padding: 0;
        }
        .toggle-btn:hover { background: var(--ink); color: var(--paper); }
        .toggle-btn svg { pointer-events: none; }

        .icon-sun { display: block; }
        .icon-moon { display: none; }
        body.dark-mode .icon-sun { display: none; }
        body.dark-mode .icon-moon { display: block; }

        /* Hamburger Menu */
        .hamburger {
            display: none; flex-direction: column; gap: 5px;
            background: none; border: none; cursor: pointer; padding: 8px;
        }

        .hamburger span {
            display: block; width: 25px; height: 3px;
            background: var(--ink); transition: transform 0.3s, opacity 0.3s;
        }

        .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
        .hamburger.active span:nth-child(2) { opacity: 0; }
        .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

        @media (max-width: 768px) {
            body.menu-open { overflow: hidden; }
            header { padding: 0 0.75rem; }
            .hamburger { display: flex; }
            .toggle-btn { width: 44px; border-left: none; border-right: 1px solid var(--ink); }
            nav {
                position: fixed; top: 60px; left: 0; width: 100%;
                background: var(--paper); border-top: var(--border);
                flex-direction: column; align-items: stretch; gap: 0;
                max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
            }
            nav.active {
                max-height: calc(100dvh - 60px);
                overflow-y: auto;
                overscroll-behavior: contain;
                -webkit-overflow-scrolling: touch;
                padding-bottom: env(safe-area-inset-bottom);
            }
            nav a { border-left: none; border-bottom: 1px solid var(--ink); min-height: 52px; width: 100%; justify-content: center; padding: 0 1rem; }
            .nav-icons { display: flex; flex-direction: row; border-left: none; margin-left: 0; width: 100%; }
            .nav-icons a { flex: 1; border-left: 1px solid var(--ink); min-height: 52px; }
            .nav-icons a:first-child { border-left: none; }
            .social-icon-img { width: 20px; height: 20px; }
        }

        /* === PAGE TITLE === */
        .page-title-bar {
            border-bottom: var(--border);
            padding: 3rem 2rem 2rem;
            max-width: 950px;
            margin: 0 auto;
        }

        .page-title-bar h1 {
            font-family: 'Amatic SC', sans-serif;
            font-weight: 700;
            font-size: clamp(3rem, 8vw, 5rem);
            text-transform: uppercase;
            letter-spacing: 3px;
            line-height: 1;
        }

        .page-title-bar p {
            margin-top: 0.5rem;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: var(--gray);
        }

        /* === ABOUT LAYOUT === */
        .about-wrap { max-width: 950px; margin: 0 auto; }

        .about-profile {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 0;
            border-bottom: var(--border);
        }

        @media (max-width: 680px) { .about-profile { grid-template-columns: 1fr; } }

        .about-photo {
            border-right: var(--border);
            padding: 3rem 2rem;
            display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
        }

        @media (max-width: 680px) { .about-photo { border-right: none; border-bottom: var(--border); } }

        .about-photo img {
            width: 100%; max-width: 200px;
            border: var(--border);
            animation: floatnm 4s ease-in-out infinite;
        }

        @keyframes floatnm {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .about-photo .name-block { text-align: center; }

        .about-photo .name-block strong {
            font-family: 'Amatic SC', sans-serif;
            font-size: 2rem; font-weight: 700; text-transform: uppercase; display: block;
        }

        .about-photo .name-block span {
            font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gray);
        }

        .about-content { padding: 3rem 2.5rem; }

        .about-content h2 {
            font-family: 'Amatic SC', sans-serif;
            font-size: 2.5rem; font-weight: 700; text-transform: uppercase;
            letter-spacing: 2px; margin-bottom: 1.5rem;
            border-bottom: var(--border); padding-bottom: 0.75rem;
        }

        .about-content p {
            font-size: 1.05rem; line-height: 1.8; color: var(--gray); margin-bottom: 1.25rem;
        }

        .about-content p strong { color: var(--ink); }

        /* === IDENTITY TAGS === */
        .tags-section { padding: 3rem 2rem; border-bottom: var(--border); }

        .tags-section h3 {
            font-family: 'Amatic SC', sans-serif;
            font-size: 2rem; font-weight: 700; text-transform: uppercase;
            letter-spacing: 2px; margin-bottom: 1.5rem;
        }

        .tags { display: flex; flex-wrap: wrap; gap: 0; }

        .tag {
            border: 1px solid var(--ink);
            padding: 0.5rem 1.25rem;
            margin: -1px 0 0 -1px;
            font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
            letter-spacing: 1.5px; transition: background 0.2s, color 0.2s; cursor: default;
        }

        .tag:hover { background: var(--ink); color: var(--paper); }

        /* === SKILLS GRID === */
        .skills-section { padding: 3rem 2rem; border-bottom: var(--border); }

        .skills-section h3 {
            font-family: 'Amatic SC', sans-serif;
            font-size: 2rem; font-weight: 700; text-transform: uppercase;
            letter-spacing: 2px; margin-bottom: 2rem;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 0;
        }

        .skill-item { border: 1px solid var(--ink); padding: 1.5rem; margin: -1px 0 0 -1px; }

        .skill-item h4 {
            font-family: 'Amatic SC', sans-serif;
            font-size: 1.5rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.75rem;
        }

        .skill-bar-bg { height: 3px; background: var(--mid); position: relative; }
        .skill-bar-fill { height: 100%; background: var(--ink); transition: width 1s ease; }

        footer {
            border-top: var(--border); padding: 2rem; text-align: center;
            font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
            color: var(--gray); max-width: 950px; margin: 0 auto;
        }
    