        /* ============================================================
     DESIGN TOKENS
     Theme: "system panel" — grounded in the subject (IT / sysadmin /
     web dev): the page reads like a well-configured server dashboard.
     ============================================================ */
        :root {
            --ink: #0E141B;
            /* base dark (hero/footer) */
            --panel: #161F29;
            /* raised dark panel */
            --panel-line: #2A3847;
            /* hairline on dark */
            --paper: #E8EBE4;
            /* light section bg — cool paper, not cream */
            --paper-2: #DEE2D8;
            /* slightly deeper paper for alt sections */
            --ink-text: #1B2128;
            /* body text on paper */
            --muted: #5B6B78;
            /* secondary text */
            --muted-dark: #8CA0AE;
            /* secondary text on dark */
            --signal: #3E63FF;
            /* primary accent — signal blue */
            --signal-dim: #2C46B8;
            --amber: #F5A623;
            /* status accent */
            --ok: #38C172;
            /* "online" green */
            --radius: 3px;
            --mono: 'IBM Plex Mono', ui-monospace, monospace;
            --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "Poppins", sans-serif;
            background: var(--paper);
            color: var(--ink-text);
            line-height: 1.55;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            display: block;
        }

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

        ul {
            list-style: none;
        }

        section {
            padding: 96px 24px;
        }

        .wrap {
            max-width: 1080px;
            margin: 0 auto;
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }

        /* ---------- corner-bracket motif (recurring signature) ---------- */
        .bracket {
            position: relative;
        }

        .bracket::before,
        .bracket::after {
            content: '';
            position: absolute;
            width: 14px;
            height: 14px;
            border-color: var(--signal);
            border-style: solid;
            opacity: .55;
        }

        .bracket::before {
            top: -1px;
            left: -1px;
            border-width: 2px 0 0 2px;
        }

        .bracket::after {
            bottom: -1px;
            right: -1px;
            border-width: 0 2px 2px 0;
        }

        /* ---------- eyebrow / mono label ---------- */
        .eyebrow {
            font-family: var(--mono);
            font-size: 12.5px;
            letter-spacing: .06em;
            text-transform: lowercase;
            color: var(--signal);
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 14px;
        }

        .eyebrow::before {
            content: '//';
            opacity: .6;
        }

        h1,
        h2,
        h3 {
            font-family: var(--mono);
            font-weight: 600;
            letter-spacing: -0.01em;
        }

        .section-title {
            font-size: clamp(26px, 3.4vw, 36px);
            margin-bottom: 8px;
        }

        .section-sub {
            color: var(--muted);
            max-width: 560px;
            margin-bottom: 48px;
            font-size: 15px;
        }

        /* ============================================================
     NAV
     ============================================================ */
        .nav .logo img {
            height: 45px;
            width: 180px;
        }

        header.nav {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(14, 20, 27, .92);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid var(--panel-line);
        }

        .nav-inner {
            max-width: 1080px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            font-family: var(--mono);
            font-weight: 600;
            color: #fff;
            font-size: 15px;
        }

        .logo span {
            color: var(--signal);
        }

        .nav-links {
            display: flex;
            gap: 28px;
            font-family: var(--mono);
            font-size: 13px;
        }

        .nav-links a {
            color: var(--muted-dark);
            transition: color .15s;
        }

        .nav-links a:hover {
            color: #fff;
        }

        .nav-cta {
            font-family: var(--mono);
            font-size: 12.5px;
            color: var(--ink);
            background: var(--amber);
            padding: 8px 14px;
            border-radius: var(--radius);
            font-weight: 600;
        }

        .nav-toggle {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 22px;
            cursor: pointer;
        }

        @media (max-width:760px) {
            .nav-links {
                position: fixed;
                top: 57px;
                left: 0;
                right: 0;
                bottom: 0;
                background: var(--ink);
                flex-direction: column;
                padding: 32px 24px;
                gap: 22px;
                transform: translateX(100%);
                transition: transform .25s ease;
            }

            .nav-links.open {
                transform: translateX(0);
            }

            .nav-toggle {
                display: block;
            }

            .nav-cta {
                display: none;
            }
        }

        /* ============================================================
     HERO
     ============================================================ */
        .hero {
            background: var(--ink);
            color: #fff;
            padding: 90px 24px 80px;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(var(--panel-line) 1px, transparent 1px),
                linear-gradient(90deg, var(--panel-line) 1px, transparent 1px);
            background-size: 42px 42px;
            opacity: .25;
            mask-image: radial-gradient(ellipse at 30% 20%, black 0%, transparent 70%);
        }

        .hero-inner {
            max-width: 1080px;
            margin: 0 auto;
            position: relative;
            display: grid;
            grid-template-columns: 1.15fr .85fr;
            gap: 56px;
            align-items: center;
        }

        @media (max-width:860px) {
            .hero-inner {
                grid-template-columns: 1fr;
            }
        }

        .status-line {
            font-family: var(--mono);
            font-size: 12.5px;
            color: var(--ok);
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 22px;
        }

        .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--ok);
            animation: blink 2s infinite;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: .25;
            }
        }

        .hero h1 {
            font-size: clamp(34px, 5.5vw, 54px);
            line-height: 1.08;
            color: #fff;
            margin-bottom: 14px;
            font-family: var(--mono);
        }

        .hero h1 .accent {
            color: var(--signal);
        }

        .hero .role {
            font-family: var(--mono);
            font-size: 15px;
            color: var(--muted-dark);
            margin-bottom: 22px;
        }

        .hero p.intro {
            font-size: 16px;
            color: #C6D0D8;
            max-width: 480px;
            margin-bottom: 32px;
        }

        .hero-ctas {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        .btn {
            font-family: var(--mono);
            font-size: 13.5px;
            font-weight: 600;
            padding: 13px 22px;
            border-radius: var(--radius);
            cursor: pointer;
            border: 1px solid transparent;
            transition: transform .15s, background .15s, border-color .15s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn:hover {
            transform: translateY(-2px);
        }

        .btn-primary {
            background: var(--signal);
            color: #fff;
        }

        .btn-primary:hover {
            background: var(--signal-dim);
        }

        .btn-ghost {
            border-color: var(--panel-line);
            color: #fff;
        }

        .btn-ghost:hover {
            border-color: var(--signal);
        }

        /* hero terminal card — the signature element */
        .term {
            background: var(--panel);
            border: 1px solid var(--panel-line);
            border-radius: 6px;
            font-family: var(--mono);
            font-size: 12.5px;
            overflow: hidden;
            box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
        }

        .term-bar {
            display: flex;
            gap: 6px;
            padding: 10px 14px;
            border-bottom: 1px solid var(--panel-line);
        }

        .term-bar span {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: #3A4552;
        }

        .term-body {
            padding: 18px 18px 22px;
            color: var(--muted-dark);
        }

        .term-row {
            display: flex;
            justify-content: space-between;
            padding: 7px 0;
            border-bottom: 1px dashed var(--panel-line);
        }

        .term-row:last-child {
            border-bottom: none;
        }

        .term-row b {
            color: #fff;
            font-weight: 500;
        }

        .term-row .ok {
            color: var(--ok);
        }

        .term-row .amber {
            color: var(--amber);
        }

        /* ============================================================
     SECTION HEADERS SHARED
     ============================================================ */
        section.dark {
            background: var(--ink);
            color: #fff;
        }

        section.dark .section-title {
            color: #fff;
        }

        section.alt {
            background: var(--paper-2);
        }

        /* ============================================================
     ABOUT
     ============================================================ */
        .about-grid {
            display: grid;
            grid-template-columns: .8fr 1.2fr;
            gap: 56px;
            align-items: start;
        }

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

        .avatar {
            aspect-ratio: 1;
            border-radius: 6px;
            overflow: hidden;
            background: var(--panel);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--muted-dark);
            font-family: var(--mono);
            font-size: 13px;
            border: 1px solid var(--panel-line);

            text-align: center;
        }

        .about-text p {
            margin-bottom: 16px;
            color: #333;
            text-align: justify;
        }

        .highlight-strip {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 14px;
            margin-top: 28px;
        }

        @media (max-width:600px) {
            .highlight-strip {
                grid-template-columns: 1fr;
            }
        }

        .highlight {
            background: #fff;
            border: 1px solid #D4D9CC;
            border-radius: var(--radius);
            padding: 16px;
        }

        .highlight .num {
            font-family: var(--mono);
            font-size: 22px;
            font-weight: 600;
            color: var(--signal);
        }

        .highlight .lbl {
            font-size: 12.5px;
            color: var(--muted);
            margin-top: 2px;
        }

        /* ============================================================
     SKILLS
     ============================================================ */
        .skill-groups {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        @media (max-width:800px) {
            .skill-groups {
                grid-template-columns: 1fr;
            }
        }

        .skill-group {
            background: #fff;
            border: 1px solid #D4D9CC;
            border-radius: 6px;
            padding: 22px;
        }

        .skill-group h3 {
            font-size: 13px;
            text-transform: lowercase;
            color: var(--signal);
            margin-bottom: 16px;
            letter-spacing: .03em;
        }

        .badge-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .badge {
            font-family: var(--mono);
            font-size: 12px;
            padding: 6px 10px;
            border-radius: 20px;
            background: var(--paper-2);
            border: 1px solid #C9CFC0;
            color: var(--ink-text);
        }

        /* ============================================================
     EXPERIENCE — timeline (legit here: real chronology)
     ============================================================ */
        .timeline {
            position: relative;
            padding-left: 28px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 6px;
            top: 6px;
            bottom: 6px;
            width: 1px;
            background: #C9CFC0;
        }

        .tl-item {
            position: relative;
            margin-bottom: 44px;
        }

        .tl-item:last-child {
            margin-bottom: 0;
        }

        .tl-item::before {
            content: '';
            position: absolute;
            left: -28px;
            top: 4px;
            width: 11px;
            height: 11px;
            border-radius: 50%;
            background: var(--paper);
            border: 2px solid var(--signal);
        }

        .tl-period {
            font-family: var(--mono);
            font-size: 12px;
            color: var(--signal);
            margin-bottom: 6px;
        }

        .tl-role {
            font-size: 18px;
            font-weight: 600;
            font-family: var(--mono);
            margin-bottom: 2px;
        }

        .tl-org {
            color: var(--muted);
            font-size: 14px;
            margin-bottom: 12px;
        }

        .tl-item ul {
            padding-left: 0;
        }

        .tl-item li {
            position: relative;
            padding-left: 18px;
            margin-bottom: 6px;
            color: #333;
            font-size: 14.5px;
        }

        .tl-item li::before {
            content: '—';
            position: absolute;
            left: 0;
            color: var(--muted);
        }

        /* ============================================================
     PROJECTS
     ============================================================ */
        .proj-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        @media (max-width:760px) {
            .proj-grid {
                grid-template-columns: 1fr;
            }
        }

        .proj-card {
            background: #fff;
            border: 1px solid #D4D9CC;
            border-radius: 6px;
            overflow: hidden;
            transition: transform .18s, box-shadow .18s;
            display: flex;
            flex-direction: column;
        }

        .proj-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 32px -18px rgba(20, 30, 40, .35);
        }

        .proj-shot {
            aspect-ratio: 16/9;
            background: linear-gradient(135deg, #1B2430, #2A3847);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--muted-dark);
            font-family: var(--mono);
            font-size: 12px;
            text-align: center;
            padding: 10px;
        }

        .proj-body {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .proj-body h3 {
            font-size: 17px;
            margin-bottom: 8px;
        }

        .proj-body p {
            color: var(--muted);
            font-size: 14px;
            margin-bottom: 14px;
            flex: 1;
        }

        .tech-row {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 16px;
        }

        .tech-tag {
            font-family: var(--mono);
            font-size: 11px;
            color: var(--signal);
            background: #EEF1FB;
            padding: 4px 8px;
            border-radius: 4px;
        }

        .proj-links {
            display: flex;
            gap: 16px;
            font-family: var(--mono);
            font-size: 12.5px;
        }

        .proj-links a {
            color: var(--ink-text);
            border-bottom: 1px solid var(--signal);
            padding-bottom: 1px;
        }

        .proj-links a:hover {
            color: var(--signal);
        }

        /* ============================================================
     GALLERY
     ============================================================ */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-auto-rows: 150px;
            gap: 14px;
        }

        @media (max-width:760px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                grid-auto-rows: 130px;
            }
        }

        .gallery-item {
            position: relative;
            border-radius: 6px;
            overflow: hidden;
            cursor: pointer;
            border: 1px solid #C9CFC0;
            background: linear-gradient(135deg, #1B2430, #2A3847);
        }

        .gallery-item.tall {
            grid-row: span 2;
        }

        .gallery-item.wide {
            grid-column: span 2;
        }

        .gallery-item img,
        .gallery-item .ph {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--muted-dark);
            font-family: var(--mono);
            font-size: 11.5px;
            text-align: center;
            padding: 10px;
        }

        .gallery-item::after {
            content: attr(data-caption);
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 10px 12px;
            font-family: var(--mono);
            font-size: 11.5px;
            color: #fff;
            background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent);
            transform: translateY(100%);
            transition: transform .2s ease;
            opacity: 0;
        }

        .gallery-item:hover::after {
            transform: translateY(0);
            opacity: 1;
        }

        .gallery-item:hover img,
        .gallery-item:hover .ph {
            transform: scale(1.04);
        }

        .gallery-item img {
            transition: transform .3s ease;
        }

        .lightbox {
            position: fixed;
            inset: 0;
            background: rgba(10, 14, 19, .92);
            z-index: 200;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 32px;
        }

        .lightbox.open {
            display: flex;
        }

        .lightbox-inner {
            max-width: 820px;
            width: 100%;
        }

        .lightbox-frame {
            aspect-ratio: 16/10;
            background: linear-gradient(135deg, #1B2430, #2A3847);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--muted-dark);
            font-family: var(--mono);
            font-size: 13px;
            overflow: hidden;
        }

        .lightbox-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .lightbox-caption {
            font-family: var(--mono);
            font-size: 13px;
            color: #fff;
            margin-top: 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .lightbox-close {
            background: none;
            border: 1px solid var(--panel-line);
            color: #fff;
            width: 32px;
            height: 32px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }

        .lightbox-close:hover {
            border-color: var(--signal);
        }


        .edu-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        @media (max-width:760px) {
            .edu-grid {
                grid-template-columns: 1fr;
            }
        }

        .edu-item {
            padding: 18px 0;
            border-bottom: 1px solid #C9CFC0;
        }

        .edu-item:last-child {
            border-bottom: none;
        }

        .edu-item .deg {
            font-family: var(--mono);
            font-weight: 600;
            font-size: 15px;
        }

        .edu-item .inst {
            color: var(--muted);
            font-size: 13.5px;
            margin-top: 2px;
        }

        .edu-item .yr {
            font-family: var(--mono);
            font-size: 12px;
            color: var(--signal);
            margin-top: 4px;
        }

        .cert-list li {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #C9CFC0;
            font-size: 14px;
        }

        .cert-list li:last-child {
            border-bottom: none;
        }

        .cert-list .cyr {
            font-family: var(--mono);
            color: var(--muted);
            font-size: 12.5px;
        }

        .gall a {
            display: inline-block;
            background: var(--signal);
            color: #fff;
            font-size: 18px;
            font-weight: 500;
            padding: 8px 16px;
            margin-top: 20px;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .gall a:hover {
            background-color: var(--amber)
        }

        /* ============================================================
     ACHIEVEMENTS
     ============================================================ */
        .ach-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        @media (max-width:760px) {
            .ach-grid {
                grid-template-columns: 1fr;
            }
        }

        .ach-card {
            background: var(--panel);
            border: 1px solid var(--panel-line);
            border-radius: 6px;
            padding: 22px;
        }

        .ach-card .mark {
            font-family: var(--mono);
            color: var(--amber);
            font-size: 12px;
            margin-bottom: 10px;
        }

        .ach-card h3 {
            font-size: 15.5px;
            color: #fff;
            margin-bottom: 8px;
        }

        .ach-card p {
            color: var(--muted-dark);
            font-size: 13.5px;
        }

        /* ============================================================
     SERVICES
     ============================================================ */
        .svc-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        @media (max-width:760px) {
            .svc-grid {
                grid-template-columns: 1fr;
            }
        }

        .svc-card {
            background: #fff;
            border: 1px solid #D4D9CC;
            border-radius: 6px;
            padding: 24px;
        }

        .svc-card .ico {
            font-family: var(--mono);
            font-size: 12px;
            color: var(--signal);
            margin-bottom: 12px;
        }

        .svc-card h3 {
            font-size: 16px;
            margin-bottom: 8px;
        }

        .svc-card p {
            color: var(--muted);
            font-size: 13.5px;
        }

        /* ============================================================
     TESTIMONIALS
     ============================================================ */
        .test-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        @media (max-width:760px) {
            .test-grid {
                grid-template-columns: 1fr;
            }
        }

        .test-card {
            background: var(--paper);
            border: 1px solid #C9CFC0;
            border-radius: 6px;
            padding: 24px;
            position: relative;
        }

        .test-card p {
            font-size: 14.5px;
            color: #333;
            margin-bottom: 16px;
        }

        .test-who {
            font-family: var(--mono);
            font-size: 12.5px;
        }

        .test-who b {
            display: block;
            font-size: 13.5px;
        }

        .test-who span {
            color: var(--muted);
        }

        /* ============================================================
     CONTACT
     ============================================================ */
        .contact-grid {
            display: grid;
            grid-template-columns: .9fr 1.1fr;
            gap: 56px;
        }

        @media (max-width:800px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }
        }

        .contact-list li {
            display: flex;
            gap: 14px;
            padding: 14px 0;
            border-bottom: 1px solid var(--panel-line);
            font-size: 14.5px;
        }

        .contact-list .k {
            font-family: var(--mono);
            color: var(--muted-dark);
            width: 90px;
            flex-shrink: 0;
            font-size: 12.5px;
            padding-top: 2px;
        }

        .contact-list .v {
            color: #fff;
        }

        .contact-list a.v:hover {
            color: var(--signal);
        }

        form.contact-form {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .contact-form input,
        .contact-form textarea {
            background: var(--panel);
            border: 1px solid var(--panel-line);
            color: #fff;
            padding: 13px 14px;
            border-radius: 4px;
            font-family: var(--sans);
            font-size: 14px;
        }

        .contact-form textarea {
            resize: vertical;
            min-height: 110px;
        }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: var(--muted-dark);
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: 2px solid var(--signal);
            outline-offset: 1px;
        }

        .form-status {
            font-family: var(--mono);
            font-size: 13px;
            min-height: 1.4em;
        }

        .form-status.ok {
            color: #4ADE80;
        }

        .form-status.err {
            color: #F87171;
        }

        /* ============================================================
     FOOTER
     ============================================================ */
        footer {
            background: var(--ink);
            color: var(--muted-dark);
            padding: 36px 24px;
            border-top: 1px solid var(--panel-line);
        }

        .footer-inner {
            max-width: 1080px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            font-family: var(--mono);
            font-size: 12.5px;
        }

        .footer-links {
            display: flex;
            gap: 20px;
        }

        .footer-links a:hover {
            color: #fff;
        }

        /* ---------- reveal on scroll ---------- */
        .reveal {
            opacity: 0;
            transform: translateY(18px);
            transition: opacity .6s ease, transform .6s ease;
        }

        .reveal.in {
            opacity: 1;
            transform: none;
        }

        /* focus visibility */
        a:focus-visible,
        button:focus-visible {
            outline: 2px solid var(--signal);
            outline-offset: 2px;
        }
    
